Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to turn off caching on Firefox?

People also ask

How do I view my cache in Firefox?

How to view Cache in Firefox Computer? Launch the Firefox Browser on your computer and enter “about:cache” in the search bar and hit enter which will show you the entire cache file in your disk.


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

browser.cache.disk.enable = false
browser.cache.memory.enable = 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

The Web Developer Toolbar has an option to disable caching which makes it very easy to turn it on and off when you need it.


Have you tried to use CTRL-F5 to update the page?


There is no specific option to disable caching only for JavaScript, you will have to disable caching entirely.

FireBug has an option to disable the browser cache on the Network tab's drop down menu.


Firefox 48 Developer Tools

Allows you to turn off cache only when toolbox is open, which is perfect for web development:

  • F12
  • gearbox on right upper corner
  • scroll down top Advanced settings
  • check "Disable Cache (when toolbox is open)"

enter image description here

https://stackoverflow.com/a/27397425/895245 has similar content, but positioning changed a bit since.


On the same page you want to disable the caching do this : FYI: the version am working on is 30.0

You can :

open webdeveloper toolbaropen web developer

and pick disable cache

After that it will reload page from its own (you are on) and every thing is recached and any furthure request are recahed every time too and you may keep the web developer open always to keep an eye and make sure its always on (check).


If you're working with server side code you could generate a random number and append it to the end of the src in the following manner....

src="yourJavascriptFile.js?randomNumber=434534"

with the randomNumber being randomly generated each time.