Cache Busting with W3TC
-
- Searching your documentation for Cache Busting currently yields no results.
- You provided support How to achieve Cache Busting of JS/CSS files which get minified via W3TC in the first place.
- How do I achieve Cache Busting for the JS/CSS files coming from WordPress and its plugins?
My guess: Browser Cache → CSS & JS → Showing relevant settings and their default values:
- Expires header lifetime: 31536000 secs (=1 year)
- Cache Control Policy: Cache with max-age
I’d say: Cache Busting is already supported out of the box by W3TC’s factory settings:
- The control policy is to rely solely on the max-age.
- And the max-age is set to 1 year (really long time to re-use without re-validation).
- So the only thing which will realistically enforce the loading of a newer resource is a version-number-change in the JS/CSS URLs, which is known as “Cache Busting”.
Right?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Cache Busting with W3TC’ is closed to new replies.