UBB.Dev
I just wanted to take this opportunity to recommend an awesome program we've been using on our server for some time now. eAccelerator is a free, GPL'd program which increases the performance of PHP scripts by automatically caching them in a compiled state so that the overhead of compiling is almost completely eliminated. It also has a simple and powerful API for caching script output. For instance, you can cache an entire page for 30 seconds by adding this to the top of the script:

Code
eaccelerator_cache_page($_SERVER['REQUEST_URI'],30);


You can also store variables in shared memory. This is really useful, for example to cache the results of a database query for 30 seconds:

Code
$results = eaccelerator_get('results');<br />if (!$results){<br />	$table = mysql_query("SELECT * FROM sometable");<br />	while ($row = mysql_fetch_assoc($table)) {<br />   		$results[] = $row;<br />	}<br />	$eaccelerator_put('results', $results, 30);<br />}


On our site eAccelerator has made some features possible which would otherwise have been too resource intensive. It's been rock solid and the developers are working hard to ensure compatibility with PHP 5. A comparable product from Zend costs $1,000+ so don't forget to donate if you find it useful!

Hope this helps,

-Y
Very interesting. Thanks!
© UBB.Developers