Support » Plugin: W3 Total Cache » [Plugin: W3 Total Cache] W3TC and stale data

  • 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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Frederick Townes

    (@fredericktownes)

    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?

    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.

    Plugin Author Frederick Townes

    (@fredericktownes)

    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.

    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.

    Plugin Author Frederick Townes

    (@fredericktownes)

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: W3 Total Cache] W3TC and stale data’ is closed to new replies.