Wordpress caching
Lifehacker blogged about Monica’s healthy foods shopping list and for a couple of hours last night while we were sleeping Wordpress collapsed under the load.
I’ve just installed WP Super Cache and will see how that goes.
On the whole the installation process was very straight forward.
http://ocaoimh.ie/wp-super-cache/
A couple of things to note:
The plugin installs some text into the .htaccess file that’s wrapped in conditionals that don’t seem to work in Apache2:
<IfModule mod_rewrite.c>
I deleted those.
Now we need some more of these spikes to see how it performs.
Oh, and I suppose I should get some monitoring set up.
Henry recommends pingdom.com and that might be a good option but I’m cheap so perhaps I can roll my own system using cron / wget and twitter API?
May 13th, 2008 at 11:33 am
That’s weird that Apache2 complained about the IfModule lines.
BTW - you should enable fancy permalinks to get the most out of wp-super-cache!
May 13th, 2008 at 11:45 am
Hi Donncha, thanks for the comment. Great plugin, thanks for that too.
I have a file containing:
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
linked into the mods-enabled directory and rewriting certainly seems to be working.
Yes, re: fancy links, thanks, and those are turned on for smarterfitter.com where I installed the caching.