[CWB] [ cwb-Feature Requests-2958462 ] CQPweb: cache compiled PHP scripts

SourceForge.net noreply at sourceforge.net
Thu Feb 25 03:00:45 CET 2010


Feature Requests item #2958462, was opened at 2010-02-25 02:00
Message generated for change (Tracker Item Submitted) made by andrewhardie
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722306&aid=2958462&group_id=131809

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: CQPweb
Group: None
Status: Open
Priority: 1
Private: No
Submitted By: Andrew Hardie (andrewhardie)
Assigned to: Andrew Hardie (andrewhardie)
Summary: CQPweb: cache compiled PHP scripts

Initial Comment:
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

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=722306&aid=2958462&group_id=131809


More information about the CWB mailing list