Make Firefox’s cache check for newer versions on every visit

Posted on October 13, 2006, under Technology.

Some of my colleagues and I have run into issues with Firefox 1.5 caching web pages while we are developing. This is extremely annoying, since your changes might not show up, and you’re not sure if Firefox is caching or not. However, there is a hidden browser config setting called “browser.cache.check_doc_frequency” you can change so that Firefox reloads a fresh version of a page every time. To change Firefox’s cache settings so that it checks for a new version every time you load a page, do the following:

  1. Open Firefox
  2. In the URL bar, type about:config
  3. In the “Filter” bar, type cache
  4. In the listed results, right-click browser.cache.check_doc_frequency and select “Modify”
  5. Change the value to: 1
  6. Click “OK”, and close the “about:config” window.

You may want to restart Firefox just to make sure the setting is active.

Leave a Comment