Minified JS has no Expires header
-
I have some javascript files combined and deferred using W3TC minification.
GTMetrix tells me that these combined files (with names such as “badb8.default.include.5af286.js”) have no far-future expiration dates.
Actually, these .js aggregates have no expiration dates at all. Their cache control headers say “no-cache”, “no-store”.
At the same time, other, normal .js files are provided proper Expires & cache control headers by my server.
Why do minified JS files have no expiration dates?
What can I do to set their expiration dates and will I benefit from this?
- The topic ‘Minified JS has no Expires header’ is closed to new replies.