Caching the Blog

calendar Posted on June 27, 2006   comments 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.
Exclude feed urls

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 Tags: , , , , , ,

Related Posts Possibly Related Posts

Comments

3 Responses to “Caching the Blog”

  1. Brock on October 6th, 2007 7:28 am

    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.

  2. Chris on October 6th, 2007 7:42 am

    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.

  3. Brock on October 6th, 2007 6:19 pm

    Hm - cool trick. Yes, I do see it in the source. thanks for that tip

Leave a Reply




Have you read the Comments section on the Disclaimer page?

About

Wandering the Internet, looking at all things bright and shiny. Playing with many, writing about some. More …

Recent Posts

Recent Comments: