title: How can I turn off cache in Firefox only when developer tools are opened?
body: <p>I know that I can turn off the cache in Firefox <a href="https://stackoverflow.com/q/289751/1420197">going to <code>about:config</code></a> and setting <code>network.http.use-cache</code> and <code>browser.cache.offline.enable</code> to <code>false</code>.</p>
  
  <p>But this is annoying when I want to turn off the cache temporary. I really like the feature of <em>turning off cache only when dev tools are opened</em>.</p>
  
  <p>Is there any solution for Firefox?</p>
  
  <p>I would prefer not to install add-ons if possible.</p>