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).
Wednesday, April 21st, 2010 @ 7:00 am |
Comment (3) |
Categories: Conferences, Best Practices, Technology
Tags: APC, Wordpress, caching, performance, PHP TEK, PHP
Every few weeks, someone publishes an article talking about how it’s faster to use single quotes rather than double quotes and how you should use echo() instead of print(). Most of these are bunk; that is, the time we spend talking about them far exceed the CPU time saved by implementing them.
Friday, October 16th, 2009 @ 1:00 am |
Comment (21) |
Categories: Best Practices, Technology
Tags: APC, micro-optimization, memcached, output buffering
The Alternative PHP Cache (APC) is a tool that offers a massive performance gain to almost any PHP application simply by turning it on. This extension to PHP provides both opcode caching and user caching, placing files and data into memory for fast retreival, and, if used correctly, eliminating some of the bottlenecks of the file server or database.
Turning APC on is a great way to get a performance boost, but there are ways to help improve APC’s performance.
Thursday, July 30th, 2009 @ 4:33 pm |
Comment (3) |
Categories: System Architecture, Best Practices
Tags: APC, stat, PHP
This past week I had to deal with a new concept: a client site that failed due to excessive load. Most of the week was spent optimizing the site by doing the critical components: installing APC, ensuring that our caching (Akamai) was satisfactory and properly configured, and making performance improvements.
But one thing that became very important was the benchmark test. Using ApacheBench, we identified the blind spots, weak spots, and bottlenecks in our web server (WordPress…duh) and worked to address them.
Friday, October 3rd, 2008 @ 9:56 pm |
Comment (1) |
Categories: Web Architecture, System Architecture
Tags: load testing, ApacheBench, benchmarking, APC, Alternative PHP Cache, Wordpress