News Feed
Sections




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

Kevin van Zonneveld's Blog:
Speedup your website with Cache_Lite
August 02, 2007 @ 09:31:00

Kevin van Zonneveld has a quick new tutorial he's written up covering the installation and use of the Cache_Lite software to increase performance on your site.

Every time a request hits your server, PHP has to do a lot of processing, all of your code has to be compiled & executed for every single visit. Even though the outcome of all this processing is often identical for both visitor 21600 and 21601. So why not save the flat HTML generated for visitor 21600, and serve that to 21601 as well? This will relieve resources of your web server and database server because less PHP often means less queries.

The Cache_Lite PEAR package makes it simple to cache both entire pages or just small parts. He shows the installation (through aptitude on Ubuntu) and how to use it in a simple code example that stores the cached copy to the local drive for a given amount of time.

0 comments voice your opinion now!
cachelite pear cache component page performance cachelite pear cache component page performance


blog comments powered by Disqus

Similar Posts

Justin Silverton\'s Blog: Using PEAR Cache_Lite for High Performance

Christian Weiske's Blog: Installing PHP extensions for phpfarm

Greg Beaver\'s Blog: Why it is very important to upgrade to PEAR 1.4.6 from PEAR 1.3.x

Noupe.com: 20 Useful PHP Components & Tutorials for Everyday Project

Travis Swicegood's Blog: New Release - PHPT


Community Events





Don't see your event here?
Let us know!


series voicesoftheelephpant symfony composer framework tool update language community podcast release library install interview introduction laravel package security opinion version

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework