WP Cache

I’ve linked it before, and it’s worth doing again: WP Cache makes WordPress perform as well as a completely static-file site, able to handle hundreds of requests per second without breaking a sweat. It also maintains with the conventions that were introduced in Staticize for making selective portions of a page completely dynamic, regardless of caching. Think how much performance would scream if combined with something like lighttpd. We’re going to be looking at rolling in this advanced caching into the core in the future.

14 thoughts on “WP Cache

  1. Funnily enough, WP Cache’s site is not available at the moment. Photomatted ? :)
    Anyway, what should be used ? Staticized ? WP Cache ? Anything important that differs between the two ?

  2. What a timely post… I’m just starting to consider bringing my community site into beta and when I do, I’ll have to start caching the pages with the complex queries. Did I mention that it will run WordPress?

  3. I doubt any personal blog gets *that* much traffic that it needs WP Cache. AFAIK default installation of WP 1.5 does 18 queries on the main page. On the other side, sites like Matts or Alex’ could benefit from that feature for sure.

  4. I don’t get a lot of traffic, but the server I’m on is loaded enough that the wp-cache helps keeps the spikes to a minimum. The spiking is due, I think, to PHP-Markdown parsing the text.

  5. Thankfully Wp Cache saved my site a few months ago, great plugin. Basically I was getting too many calls to the database an hour and my server kept shutting me down.

    I do have one question though…how do you make things stay dynamic? There is a small section in the readme that explains it, but I havent been able to get something like my search function working again.

    This is my previous search function code, but I cant seem to figure out how to run it now:

    <form style="padding: 0px; margin-top: 0px; margin-bottom: 0px;"
    id="searchform" method="get" action="<?php bloginfo(‘url’);
    ?>">
    <input type="text" name="s" id="s" size="20"
    onfocus="this.value=”" value="<?php if (!$s) { $s = "
    -Search 4cr-"; } echo $s; ?>" />
    </form>

  6. Hello Matt,
    I have added enhanced gzip support to wp-cache 2.0 module , enabling the storage of already gzipped pages on the cache and avoiding the need for constant compressions when serving cached pages.
    It can help a blog to respond better in a high demand situations, decreasing both server CPU load and required bandwidth to minimum.
    The required modifications are described at my blog page – Modifying WP-Cache 2.0 to generate and cache gzipped output once and serve it multiple times
    It is my first contribution to the WordPress community and I am welcoming any feedback!

Comments are closed.