As I’ve said, I’m a project dabbler, and I do my fair share of web design. My browser of choice is Firefox, but I had a recurring issue with it, especially when I was working on websites. The problem was, when websites didn’t tell the browser how to specifically handle caching the content of the site, it would often use the cache data the next time I went to the website, not letting me see any new changes to the site. This was a big issue when I made changes to CSS files or HTML files that weren’t originally created with proper meta headings.
Generally, this didn’t effect dynamic data, however some static content required that I press Control+F5 in order to refresh the page without loading the cache data too. Unfortunately, the cached data was still there, so every time I went to the page I had to press Control+F5 to see the new page again, or see the layout changes properly.
Very, very frustrating. What’s worse is Firefox doesn’t include an easy to locate option to change this. Even Internet Explorer, as much as I dislike it, includes a very easy to find option for checking for new content each time a web page is visited. Anyways, the good news is you can enable this option in Firefox too, and after a little searching I figured out how.
In the address bar of Firefox, type in
about:config
and press Enter. This brings up a warning page, letting you know that you’re about to make some changes which could potentially destroy the world. Agree anyways, and you’ll see a whole bunch of editable options for your Firefox browser. Locate
browser.cache.check_doc_frequency
double click on it, and change the value to 1.
Also, make sure that both
browser.cache.disk.enable and browser.cache.memory.enable
are set to True. Now Firefox should check for new versions of content each time you revisit a web page, whether they were made by a crappy programmer like me or not.
Other values you can use are:
0 – Checks for a new version whenever Firefox is closed and reopened.
1 – Checks for a new version whenever the page is loaded.
2 – Never checks for a new version, just uses cache.
3 – Checks for a new version when the page is out of date.
More info here.
Hope this helps,
Chuck