WordPress.org

Forums

[Plugin: WP Super Cache] Cache All Posts? (4 posts)

  1. Stuarts
    Member
    Posted 7 years ago #

    There is a great plugin here that works with the original WP Cache plugin (but not WP Super Cache) to cache ALL of the pages on a blog on command.

    http://www.askapache.com/wordpress/crazy-cache-wordpress-plugin.html

    To me this is the one big feature that is missing from WP Super Cache.

    Any plans to add this functionality?

    Stuart

  2. Donncha O Caoimh
    Member
    Posted 7 years ago #

    Stuarts - it's a neat idea, but for any moderately large blog you'd spend ages rebuilding the cache of static files, and what would you do about sidebar data that should update regularly? Will you clear the whole cache every few hours and rebuild it?

    My blog has thousands of posts, hundreds of tags, a dozen or so categories. All those pages would take an age to rebuild and chances are most of the cached pages would never be visited.

    Nope, no plans for something like this.

  3. Stuarts
    Member
    Posted 7 years ago #

    Hi Don,

    Here's four reasons why I think it would be useful.

    1/ It would be slow when you first did it. But from then on you could guarantee each page would load quickly. And the webmaster would have control over when they cached the pages, so it wouldn't matter. They could just do it at a slow time.

    2/ With regards to sidebar data. Many sites really don't change their sidebars that much. And anyway I am a little confused. If you are saying that whenever the sidebar updates that WP Super Cache creates the page again. Then why bother using it at all on busy sites? As it would never actually cache even now? Am I missing something? Surely you would be no worse off then now. And it would be an option available to those who wanted it. Also, hard drive space really isn't such an issue these days. Even sites with thousands of pages aren't going to take up enough space when cached to be an issue.

    3/ If you have a site where many visitors come in once only eg through search engine traffic. Then having all the pages ready cached can be a big deal. As otherwise say 25% of you potential audience is seeing a slow loading page. When they would have seen a fast loading page if it had been cached.

    4/ In my own use of WP Super Cache I have noticed that a large portion are still being served by regular WP CAche pages, rather then WP Super Cache Pages (ie when I take a look at the 'Cache Contents' area of your admin screen). I assume that WP Super Cache pages actually load faster then their counterparts. So, if you have a 'Cache All Pages' option, then you can ensure that all the pages are cached as 'WP Super Cache' pages, rather then the 'WP Cache' pages. And hence ensure that the site runs at its optimal speed possible.

    (As a side thought - some kind of option to turn pages that had been cached as WP-Cache pages into 'WP Super Cache' pages would be useful)

    Another side note - I also wondered Don what you made of the .htaccess hack to your script here:

    http://www.askapache.com/htaccess/hacking-wp-super-cache-for-speed.html

    Do you think this is an improvement on the built in one in the programme? (Obviously we are all looking for speed improvements here. So I would value your thoughts)

    Regards,

    Stuart

  4. Donncha O Caoimh
    Member
    Posted 7 years ago #

    All your points are valid, but I still don't think it's a useful feature. Set the super cache expiry time to some really long time and you'll get the same result.

    I saw those modifications of the .htaccess rules, and I thought I left a comment there ages ago, but it doesn't seem to have gone through. Besides changing $ to % in the RewriteCond which always broke things on my servers, I don't think his rules make things any faster.
    I did copy his HTTP_COOKIE line, and credited him in the changelog.

    Calling the existing rules "wack" was a little unfair though.

Topic Closed

This topic has been closed to new replies.

About this Topic