WordPress.org

Support

Support » Plugins and Hacks » [Plugin: W3 Total Cache] Cache Preload Fixes and Feature Enhancements

[Plugin: W3 Total Cache] Cache Preload Fixes and Feature Enhancements

  • Hello everyone,

    Over the last month or so I have taken time to investigate what was happening with W3TC cache preload for version 0.9.2.4. I have documented my work, but there is far too much to include here, so please look at http://www.wmiles.com/2012/03/w3tc-cache-preload for a full description of my results.

    I hope some of this will be helpful. W3TC is a useful plugin.

    In a nutshell, I discovered that W3TC Total Cache release version 0.9.2.4 has four faults in the cache preload function that prevent successful operation of this feature. My post provides code corrections for these faults. I also show a fix for another fault with URL redirection for cache prime requests that can lead to a ‘too many redirects’ error.

    I have also proposed new features to ensure that pages are primed only when required; I have included an enhancement for visible monitoring and tracing cache preload activities; and I show how to enable different cache retention times depending on the page URL.

    The fixes that I propose apply to both basic mode and enhanced mode disk caching. I have tested basic mode disk caching, but I have only performed a cursory validation that the fixes will work for enhanced mode caching. As with any suggestions, I would hope that this work be reviewed by those who develop W3TC.

    Briefly, my document has 4 pages.

    Page 1. Describes the known faults or bugs in W3TC Total Cache version 0.9.2.4 preload function. See http://www.wmiles.com/2012/03/w3tc-cache-preload.

    Page 2. Describes a feature enhancement to enable setting of specific page cache expiry times. See http://www.wmiles.com/2012/03/w3tc-cache-preload/2.

    Page 3. Describes a feature enhancement to allow administrator control and monitoring of prime activities. See http://www.wmiles.com/2012/03/w3tc-cache-preload/3.

    Page 4. Describes a feature enhancement to prime only uncached and valid pages. This improves cache prime performance. See http://www.wmiles.com/2012/03/w3tc-cache-preload/4.

    Again, I hope some of this will be helpful. And, I am pleased to contribute to this plugin. 🙂

    http://wordpress.org/extend/plugins/w3-total-cache/

Viewing 15 replies - 16 through 30 (of 37 total)
  • @wmiles:
    I am indeed using your version on http://www.organisationsberatung.net

    Thanks for the update.

    @frederick:
    Desperately wating for your official version with the mentioned enhancements. W3C Total Cache for me is a “must have” plugin!

    Kind regards,

    wp-fan

    @slangji‘s

    My “cache prime enhancements” are applied to the 0.9.2.4 and 0.9.2.5 code as released on WordPress.org.

    @everyone

    I have posted an update to my work. See here.

    @wmiles

    Trace Resource Publicly, accessible from your site URL, expose WordPress installation to security hole? 🙂

    P.S. Official W3 Total Cache 0.9.2.5b Development Version 2011-08-31 include more enhancements not present on 0.9.2.4 and 0.9.2.5 official release … 😉

    From the description of wmiles updated 0.9.2.5 fork:

    Cache priming will now generate a new cached page before a previously cached page expires. Previously, pages were not refreshed until after they had expired. This change can reduce the probability that an uncached page reference occurs. Pages may now be generated within two update intervals before expected expiry.

    @wmiles:
    Phantastic work. I have been waiting for this feature.
    Could you make sure this will be added to the official version later on? Are you at all in contact with Frederick Townes?

    Kind regards,

    wp-fan

    In my opinion, Frederick Townes knows, but it will never allow this and other corrections …

    @slangji‘s
    Why don’t you think so? Does it collide with the philosophy of the original version, and if so, why?

    Please enlighten us…

    Official version of W3 Total Cache 0.9.2.5 is released, is that patched version also updated?

    @palPalani:

    Yes, it is. See the link in my posting above.
    Works excellent!

    Thanks @wp-fan for updating the status.

    Because of the above issues, WP Cron is not working for long time for all my websites. Thanks for great work.

    W3 Total Cache 0.9.2.5 fork was worked very well, today updated to official W3 Total Cache 0.9.2.6 version. Now site not working!!!

    I have not upgraded myself and will not do so. Comments in this forum hint to severe issues that need to be fixed before I will personally upgrade.

    I do agree that the 0.9.2.5 fork from wmiles is the best version released so far. I will not put my website speed at risk with a faulty “official” update.

    I have emailed wmiles if he will release an enhanced version based on 0.9.2.6, but have not received any answer yet.

    @frederick Townes,

    I’m using netDNA CDN on my webblog, i’ve one question about your latest update.

    Path: Performance -> CDN -> Configuration

    you’ve added one filed “Alias: ” ? Please let me know about it, its mean website Main url or netDNA url like “domain.netdna-cdn.com” ?

    thanks

    wp-fan wrote:

    @slangji‘s
    Why don’t you think so? Does it collide with the philosophy of the original version, and if so, why?

    Please enlighten us…

    @wp-fan

    W3 Total Cache 0.9.2.6 is official release, (not 1.0 Pothi Remember? :lol) and no any wmiles forked version modifications was included on it!

    In my opinion, Frederick Townes knows, but it will never allow this and other corrections …

    🙂

    Plugin Author Frederick Townes

    @fredericktownes

    The suggestions look great, unfortunately as with WordPress core itself, they cannot simply be added as a patch because there’s a roadmap and the rest of the framework to consider. All of the points raised were already in the roadmap and the contributions here have simply moved them up the queue.

    :lol

Viewing 15 replies - 16 through 30 (of 37 total)
  • The topic ‘[Plugin: W3 Total Cache] Cache Preload Fixes and Feature Enhancements’ is closed to new replies.