I've made a little speed comparison to check how much difference my cache plugin, WP-FFPC1 makes. I've run the test only a few times, therefore the measurement is not as precise as it should be, it's just a brief note.
I tested four setups:
- logged in request - in this case, WP-FFPC does not kick in
- APC is set to be used as backend
- Memcached is set as backend, served directly from nginx
- Memcached is set as backend, served from PHP
One typical outcome: (not median, these are exact copies from a run after running a few each and selecting typical a one )
|No cache (ms)||APC (ms)||Memcached via nginx(ms)||Memcached via PHP (ms)|
A little explanation:
- the "proxy" element is because I'm behind a proxy; it's irrelevant to this test
- the sending has a very high difference with no cache, this is because of the cookie size
But the simple conclusion: WP-FFPC speeds up your site AT LEAST 9 times no matter which backend engine you're using.
- memcached through PHP
- memcached through nginx
nginx is not expected to be slower that PHP. It's probably an issue with my nginx setup or an error in the memcached plugin version I'm using with nginx. I will look into this.
Any tests either confirming or questioning my outputs are welcome!