WP-Cache
Sunday, October 15th, 2006My blog tends to be a little bit slow at times. The reason for this is twofold:
- I’m hosted on a shared box, along with a dozen other websites. We all share resources, and thus sometimes we can experience slowdowns. Especially if someone on my box gets slashdotted, digged, farked, borinboinged or etc.. We all suffer then. Although my host handled my site being digged wonderfully. I had a 100% uptime during the heaviest barrage so I was quite happy.
- I’m using wordpress, which means that every page load = DB query + php parse + javascript magic.
There is not much I can do about #1. That is other than paying for dedicated host, which is not something I’m willing to do right now. But I can definitely cut down on the DB queries, and dynamic content to shave off few seconds per page load via caching.
Enter WP-Cache plugin - the latest and greatest in Wordpress optimization. I set the cache to expire after 20 minutes for now. The default setting is an hour, but I was a little worried that the static content might get a little stale and etc… I might increase it later.
Anyways, if you notice any weird things going on with the blog, let me know. I’m mainly worried about stuff like the feeds not updating in a timely manner, and people’s comments not showing up immediately after posting. If you notice that, shoot me an email, or leave a comment in this post and I will see what can I do about this.
I already noticed small speedup on subsequent loads of the main page so this might work out really nicely.
