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?
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?
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.
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 authors can call methods to empty the cache or write plugins for W3TC directly.
This topic has been closed to new replies.