Firefox – How to clear the JavaScript file cache in Firefox on every visit in a page

browser-cachefirefox

How can I set the browser to clear the JavaScript file on every visit?

I use Firefox 3.5.7. I am also using the Firebug extension for developing.

Best Answer

I don't think there is a built-in way to stop caching of just javascript within Firefox, but you can stop Firefox from using cached files altogether , which will have the same desired effect for developing. Navigate to about:config in the address bar and filter to network.http.use-cache. Set it to false to stop Firefox from using cached files.

You can do the same with the Web Developer Toolbar:

alt text