Turn off cache in FireFox when your Testing

Sam Deering
Tweet

Just a quick tip for those out there that keep doing “Clear Browser Cookies, Cache, Everything…” you can turn it off completely in Firefox while your doing development and testing.

METHOD 1: in settings

turn-off-cache

I add Here’s how to disable FireFox’s browser cache completely.

  • Fire up FireFox
  • Type about:config in your address bar (click I’ll be careful)
  • Type ‘cache’ in the search bar, and look for network.http.use-cache, and double click it to set it to false. Double clicking it again will set it to true and re-enable the cache …and then you’re done.
  • To forcibly reload a page and all its dependencies, direct from source, ignoring local and proxy caches hold the shift key and hit reload.
  • This applies not only to FireFox but also IE6/7 and Safari (maybe others too). I have a feeling this may be a ratified standard.

METHOD 2: bypass

You can reload the page and bypass the cache with:

  • Press and hold Shift and left-click the Reload button.
  • Press “Ctrl + F5″ or press “Ctrl + Shift + R” (Windows,Linux)
  • Press “Cmd + Shift + R” (MAC)
  • See Keyboard shortcuts – Perform common Firefox tasks quickly and Mouse shortcuts
  • Firefox also has a memory cache, but disabling the memory cache isn’t recommended and can cause problems.
  • If you run in Private Browsing – Browse the web without saving information about the sites you visit mode then also the disk cache is disabled but also other features like permanent cookies and history are disabled.

Source: http://support.mozilla.org/

Free book: Jump Start HTML5 Basics

Grab a free copy of one our latest ebooks! Packed with hints and tips on HTML5's most powerful new features.