[CWB] [cwb:feature-requests] #38 CQPweb: cache compiled PHP scripts

Andrew Hardie andrewhardie at users.sf.net
Mon Jun 16 02:19:27 CEST 2014


- **status**: open --> closed
- **Group**:  --> TODO-3.5



---

** [feature-requests:#38] CQPweb: cache compiled PHP scripts**

**Status:** closed
**Group:** TODO-3.5
**Labels:** CQPweb 
**Created:** Thu Feb 25, 2010 02:00 AM UTC by Andrew Hardie
**Last Updated:** Wed Dec 12, 2012 05:26 AM UTC
**Owner:** Andrew Hardie

Caching the bytecode of the PHP scripts will give a speed boost. Not much of one, since parsing the code is very little of the response time compared to the time needed for big queries to CQP or MySQL, but every little helps.

This should happen automatically if the APC extension is present and working. All that is needed is some tricks for monitoring and controlling the cache, and some notes on installing/configuring/using in the setup manual.

The admin control panel will need a little control on the PHP settings page, allowing the cache to be cleared manually \(e.g. if the scripts are updated\); \(also detecting whether or not the extension is present, what pages are cached....\)

See: http://uk3.php.net/manual/en/function.apc-compile-file.php


---

Sent from sourceforge.net because cwb at sslmit.unibo.it is subscribed to https://sourceforge.net/p/cwb/feature-requests/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/cwb/admin/feature-requests/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://devel.sslmit.unibo.it/pipermail/cwb/attachments/20140616/5c20bc22/attachment-0001.html>


More information about the CWB mailing list