I googled
Firefox Force Reload and read / scanned the first 4 hits.
All say to use either Control R
or Control F5.
Neither of these work for me. The only way I I have been able to force a reload (of my javascript) is by re-starting.
I pull in 3 files CSS, HTM, and JS all by Ajax Post. Oddly, the CSS and HTM reload but the .js is cached.
It's looks like the browser is checking file extensions of ajax posts and auto caching .js despite the reload method.
Is there a way to force a reload of .js. I just double checked the above solutions and they do not work.
Furthermore, What is the mechanism that let's Firefox know when to cache and when to download?
I googled
Firefox Force Reload and read / scanned the first 4 hits.
All say to use either Control R
or Control F5.
Neither of these work for me. The only way I I have been able to force a reload (of my javascript) is by re-starting.
I pull in 3 files CSS, HTM, and JS all by Ajax Post. Oddly, the CSS and HTM reload but the .js is cached.
It's looks like the browser is checking file extensions of ajax posts and auto caching .js despite the reload method.
Is there a way to force a reload of .js. I just double checked the above solutions and they do not work.
Furthermore, What is the mechanism that let's Firefox know when to cache and when to download?
Share Improve this question edited Jul 7, 2012 at 22:50 Charles 51.5k13 gold badges106 silver badges144 bronze badges asked Jul 7, 2012 at 20:32 user656925user6569253 Answers
Reset to default 4What I normally do is disable the caches built into firefox. Then all you have to do is refresh the page no special key strokes required. To do this in your url bar enter about:config then find the settings browser.cache.disk.enable and browser.cache.memory.enable set them both to false and restart. Problem solved forever.
To force reload, press Control + Shift + R
. This will empty the cache and reload all page elements.
Open the javascript file in its own tab and control+F5 on that page. Then reload the page that uses the javascript file. That worked for me when all other methods failed.