Bypass cache programatically
-
Is there a way to bypass the W3TotalCache programatically in some cases? I know you can disable caching for logged in users and such for W3TotalCache already, but it would be nice to have a hook to do so. I have one of the more complex setups using CloudFlare and Amazon AWS on a multi-site setup and for dev purposes it would be great to be able to programatically disable the cache or minification, etc in certain instances.
Example Case:
https://www.domain.com -> cloudflare
direct.domain.com -> points to your host, but pulls minified, cached content.I would like to do something like
dev.domain.com and have that subdomain bypass the caching/minification/ etc.Right now I achieve this using the option to bypass the cache based on the user agent string and using a Chrome extension. But this is not the best way for many reasons.
- The topic ‘Bypass cache programatically’ is closed to new replies.