How Firefox Caching Works
If you’re developing a website and you’re wondering how Firefox caches the files, here’s a run down of the behaviour. I’ve spend some time researching this for a project I’m working on and the information is surprising, but very useful.
What’s In The Cache
In Firefox, you can see everything that has been cached by typing the following into your address bar:
On this page, you’ll see the three aspects of the Firefox cache; the Memory Cache, the Disk Cache and the Offline Cache.
If you want to truly understand why certain elements are refreshed and others aren’t when you’re debugging your web application (or optimising its performance) bear in mind the following cache-clearing pointers.
The Memory Cache can only be flushed by using SHIFT + Refresh.
The Disk Cache can be flushed by pressing Refresh (or F5).
The App Cache is part of the new offline web application functionality that was added in Firefox 3.