Hi,
When enabling browser cache settings in W3 Total Cache (including Cache-Control: public, max-age=..., immutable), the headers are correctly applied to regular static assets (e.g. theme CSS/JS).
However, they are not applied to minified assets served from:
/wp-content/cache/minify/
Observed
Regular assets:
Cache-Control: public, max-age=31536000, immutable
Minify assets:
- No
Cache-Control header
- Only
Expires, ETag, Pragma
Expected
Minified assets should receive the same cache headers, especially since filenames are hashed and safe for long-term caching.
Suggestion
Ensure minify cache files inherit browser cache settings or explicitly set Cache-Control headers.
Thanks!
Hi,
When enabling browser cache settings in W3 Total Cache (including
Cache-Control: public, max-age=..., immutable), the headers are correctly applied to regular static assets (e.g. theme CSS/JS).However, they are not applied to minified assets served from:
Observed
Regular assets:
Minify assets:
Cache-ControlheaderExpires,ETag,PragmaExpected
Minified assets should receive the same cache headers, especially since filenames are hashed and safe for long-term caching.
Suggestion
Ensure minify cache files inherit browser cache settings or explicitly set
Cache-Controlheaders.Thanks!