How can I turn off cache in Firefox only when developer tools are opened?

Viewed 22278

I know that I can turn off the cache in Firefox going to about:config and setting network.http.use-cache and browser.cache.offline.enable to false.

But this is annoying when I want to turn off the cache temporary. I really like the feature of turning off cache only when dev tools are opened.

Is there any solution for Firefox?

I would prefer not to install add-ons if possible.

2 Answers

Firefox 71:

  • option now named "Disable HTTP Cache (when toolbox is open)"
  • the little cog settings menu is now hidden under the three dots on upper right:

enter image description here

Firefox 48:

enter image description here

Related