Caching the Blog
Posted on June 27, 2006
3 Comments
When I switched from self-hosting to DreamHosting, I used DreamHost’s installer facility to do the intial install of WordPress. What was interesting was not only did they bundle in a huge pile of themes, but also included the wp-cache 2 plugin and a strong encouragement to use it. So I gave a glance at the configs for it and enabled it. Seemed simple enough.
I’m still not entirely sure how much it actually helps… I get some odd results (see this WP Support thread for info) but heck, I’m trying to be a good citizen and it does seem to be doing something.
Today I learned one of the things it was doing was hosing my RSS feeds! By adding it’s own cache related comments to the feeds they’d get messed up. After some experimentation, it seems I just need to add “feed” to the Rejected URI’s section of the wp-cache config and I’m back in business.

First I had tried just removing the RSS related files from the list of files that are allowed to be cached. But that didn’t get me anywhere.
Now I’m just trying to decide if caching impacts how Performancing Metrics and Google Analytics track my volumes.
Tags: blog, cache, google-analytics, performancing, plugin, WordPress, wp-cache
Possibly Related Posts
Comments
3 Responses to “Caching the Blog”
Leave a Reply



What did you ever find out about Google Analytics? I got WP-Cache working yesterday and for the first time, Analytics shows that the number of visitors went down. I don’t have total faith that this is accurately tracking.
It seems to work fine to me. If you look at a cached page’s source, you’ll see the javascript is still in there.
Hm - cool trick. Yes, I do see it in the source. thanks for that tip