<div class="markdown_content"><ul>
<li><strong>status</strong>: open --> closed</li>
<li><strong>Group</strong>: --> TODO-3.5</li>
</ul>
<hr />
<p><strong> <a class="alink strikethrough" href="http://sourceforge.net/p/cwb/feature-requests/38/">[feature-requests:#38]</a> CQPweb: cache compiled PHP scripts</strong></p>
<p><strong>Status:</strong> closed<br />
<strong>Group:</strong> TODO-3.5<br />
<strong>Labels:</strong> CQPweb <br />
<strong>Created:</strong> Thu Feb 25, 2010 02:00 AM UTC by Andrew Hardie<br />
<strong>Last Updated:</strong> Wed Dec 12, 2012 05:26 AM UTC<br />
<strong>Owner:</strong> Andrew Hardie</p>
<p>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.</p>
<p>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.</p>
<p>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....)</p>
<p>See: <a href="http://uk3.php.net/manual/en/function.apc-compile-file.php" rel="nofollow">http://uk3.php.net/manual/en/function.apc-compile-file.php</a></p>
<hr />
<p>Sent from sourceforge.net because cwb@sslmit.unibo.it is subscribed to <a href="https://sourceforge.net/p/cwb/feature-requests/">https://sourceforge.net/p/cwb/feature-requests/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/cwb/admin/feature-requests/options.">https://sourceforge.net/p/cwb/admin/feature-requests/options.</a> Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>