I've been trying to figure out why Firefox does not cache my JavaScript file. I don't have this issue with Chrome or IE.
Here is what my server's Response Header looks like:
http://localhost:5012/bundles/scripts/jquery?v=FVs3ACwOLIVInrAl5sdzR2jrCDmVOWFbZMY6g6Q0ulE1
Cache-Control public, max-age=2592000
Content-Encoding gzip
Content-Length 42173
Content-Type text/javascript; charset=utf-8
Date Fri, 23 May 2014 14:33:28 GMT
Expires Sat, 23 May 2015 14:33:22 GMT
Last-Modified Fri, 23 May 2014 14:33:22 GMT
Server Microsoft-IIS/7.5
Vary Accept-Encoding
X-AspNet-Version 4.0.30319
X-Powered-By ASP.NET
fod_vary_store User-Agent
Please note:
- There is no file extension. I use MS ASP.NET Optimization Framework to Bundle and minify my scripts.
- My Firefox is 29.0.1. I have "Remember History" enabled.
My question is a semi-duplicate of another question I found here: Why doesn't Firefox cache my images and CSS (without an accepted answer). It hinted to older versions of FireFox not caching any resources with query strings. However some of the users answered that the issue had been fixed in newer versions.