Thilo Thilo - 1 year ago 117
Javascript Question

Turn off caching on Firefox

During development I have to "clear cache" in Firefox all the time in order to make it use the latest version of JavaScript files.

Is there some kind of setting (about:config) to turn off caching completely for JavaScript files? Or, if not, for all files?

tst tst
Answer Source

Enter "about:config" into the Firefox address bar and set:

network.http.use-cache = false

If developing locally, or using HTML5's new manifest attribute you may have to also set the following in about:config -

browser.cache.offline.enable = false