Tap here to go to the mobile version of the site.
Your Firefox is out of date and may contain a security risk! Upgrade Firefox

Support Forum

Firefox does not respect max-age for a url with version number based querystring


Both IE & Chrome respect max-age even with querystring in the url. They have the right behavior.

But in FF (18.0.2 & earlier as well) still pulls the resource from the server even if its within max-age and the querystring in the url was already requested earlier.

Additional System Details


  • User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17

More Information

  • Top 10 Contributor
2367 solutions 20954 answers

Firefox may have some unique rules on when pages are cached or not cached. Does this article suggest any reason why the page might not be cached? https://developer.mozilla.org/En/Using_Firefox_1.5_caching

Question owner

Someone mentioned that if FF gets a querystring it always goes for a unconditional request (even if the querystring was already requested earlier) http://webmasters.stackexchange.com/questions/16011/why-doesnt-firefox-cache-my-images-and-css