Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is Firefox storing javascript files in cache even if all settings says to not store any data ?

I sometimes realize that I have to clear the cache to load the javascript files again.

This usually doesn't occur with css or html.

share|improve this question
up vote 1 down vote accepted

The answer seems to be NO, YES and SOMETIMES. Here is a discussion of javascript caching on Stack Overflow

The only way to ensure (cross browser) that a fresh version of the file is loaded seems to be to change the name of the file ie. use myjsfile_v123.js instead of myjsfile.js

share|improve this answer

If you set the variable network.http.use-cache to false no css / js files will be stored in cache. Read here more Prevent Firefox to load css/js from cache

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.