Saturday, March 22, 2008, 02:13 PM
Posted by David Westerfield
I've gone through and added quite a few things to dramatically increase the speed at which all of the websites running on my systems process information, both at the file level and at the server level.
First of all, I added a PHP application optimization program called eAccelerator and which caches the PHP code for quicker use so it doesn't have to pull it every time it is hit at run time.
Next I setup reverse proxy caching (using memory instead of disk storage) to cache all static files such as images, html, css, etc, so the web server load is minimized.
The next thing I did was setup the MySQL server to cache all of the queries made so it doesn't have to run them every time a call is made (similar to eAccelerator), which is frequently. The last thing I did, which was very simple, was set the RSS feed calls for the feed headlines at the top of my pages to just pull a single feed in the entry instead of all 20 every time a call is made.
All of these things together have dramatically improved the performance of my web sites.