WordPress.org

Forums

W3 Total Cache
W3TC and stale data (6 posts)

  1. incognito
    Member
    Posted 4 years ago #

    Is it possible for the developers of w3tc to develop some kind of versioning system so that the cache doesn't serve up stale data?

  2. Frederick Townes
    Member
    Plugin Author

    Posted 4 years ago #

    Technically a cache is stale data. Normally when you update or create a new post W3TC will purge the cache of that file. What is the issue you are having?

  3. automaton
    Member
    Posted 4 years ago #

    Updates via a plugin like Pods will not trigger a cache refresh, perhaps that is the issue? Pods is very programmer-friendly, so you could probably add that behaviour in a non-messy way. I'm not a programmer, so I wouldn't know how, though.

  4. Frederick Townes
    Member
    Plugin Author

    Posted 4 years ago #

    I reluctant to add logic to support other plugins. Other plugins should instead make sure that they're plugins are cache friendly. I recommend contacting the author.

  5. automaton
    Member
    Posted 4 years ago #

    I mean that a WordPress site admin could easily add that functionality to their Pods input screens. The plugin has a feature called 'helpers' that allow you to execute php code before or after saving content. Clearing the cache could be one of those helpers. Maybe it'd be a good idea to provide a helper? They have an online repository.

  6. Frederick Townes
    Member
    Plugin Author

    Posted 4 years ago #

    Plugin authors can call methods to empty the cache or write plugins for W3TC directly.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • W3 Total Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic