Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Bollysite Blog:
PHP xcache performance tuning tutorial on Lighttpd
Aug 23, 2010 @ 10:14:00

In a new post to the Bollysite Blog there's a look at how to get better performance out of your Lighttpd web server with xcache.

A typical PHP application and most of the frameworks uses "The Loop" method to code the website. Whenever request comes to website, It's typically sent to index page to handle every parameters. [...] We can use xcache variables to store entire web page and serve it from RAM.

They include some basic benchmarks showing the impact that caching an have on a site as well as code that you can use to integrate their xcache library into your site. The library uses the XCache functionality to store the rendered output of the page for a default of three hours time.

tagged: xcache scale performance tuning lighttpd