TEK Webcast Notes
Out Of Date Warning
Languages change. Perspectives are different. Ideas move on. This article was published on April 21, 2010 which is more than two years ago. It may be out of date. You should verify that technical information in this article is still current before relying upon it for your own purposes.
Last Friday, I did a webcast as a part of the PHP TEK Webcast series. The webcast was on Caching for WordPress. We had a good turnout, and there were lots of questions about the best plugins to use for WordPress caching.
For me, every WordPress blog should have APC installed on it, hands down. APC almost doubles the response rate for WordPress by itself; APC is easy to install and freely available, stable and exceptional. Along with APC I also recommend either WP-Super-Cache or W3 Total Cache. WP-Super-Cache is great for sites that simply want to do static caching; W3 Total Cache is for sites that want to make use of S3 or other caches (like the APC User Cache).
There were also questions asked about my benchmarks of each of the caches. In short, I used Apache Bench to get my benchmarks. The benchmarks were conducted from a development server on Slicehost, with a 1 GB slice. The web server and the test server were on the same machine. I used 3,000 requests (no concurrent requests) per benchmark, with the exception of WordPress by itself (which used 1,000 requests, because it was so slow). All the caches were configured properly according to how the author recommended. I did test to make sure the components were behaving as advertised before benchmarking them.
You can download the slides here. Thanks to everyone who came out!
Update: Cal Evans has posted the video of the webcast here.
Write better object
oriented PHP today.
A brand new book on object oriented PHP that will leave you an object oriented master.Learn more about the book »