My first attempt to resolve the issue was to disable caching entirely using the Web Developer toolbar (Disable > Disable Cache). However, that is not optimal, as every page resource gets downloaded every time you refresh the page.
So I did some reading up, and, just as I suspected, there is a Firefox configuration setting that forces a 304 request each time you refresh the page. This solution is superior to disabling the cache, as only resources that have changed are downloaded again.
If you have caching problems (or you're concerned that you might), you'll need to change a value in Firefox's "power-user" configuration settings. Here's how:
- Open a new tab, type about:config into your address bar, and promise Firefox you'll be careful. ;)
- Enter browser.cache.check_doc_frequency into the filter field.
- Change the value from 3 to 1, which tells Firefox to check the server for updated resources on every refresh.