Force-refreshing only JavaScript files in Firefox and Chrome
Problem
I want to clear only JavaScript files from my web browsers (Firefox and Chrome). I am doing JavaScript debugging, and it's annoying that my JS just won't get updated whenever I change my JS files. The only thing I can do now is to clear my cookies, but doing that erases all of my browsing history. How can I clear/refresh the JavaScript files that have been loaded into my browsers without clearing out other files?
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Fix for: Force-refreshing only JavaScript files in Firefox and Chrome
With Chrome: Starting with Chrome 15, open the Developer Tools, click on the cogwheel at bottom left of the screen, and select the checkbox Disable cache. This way, you will be sure that resources are always reloaded from the server, and you don't have to manually clear the cache, which might also remove cached data for unrelated sites.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix