MyThinkPond

On Java, Python, Groovy, Grails, Spring, Node.js, Linux, Arduino, ARM, Embedded Devices & Web

How-To: Turn off Firefox browser cache during development

Posted by Venkatt Guhesan on June 22, 2011

Sometimes (when your are developing) you may want to force fetching all content fresh all the time including images, resources such as style sheet etc. To facilitate this you can do the following:

  1. Open a new window or tab in Firefox.
  2. Type about:config in the address bar.
  3. Search for “cache” in the search bar and look for network.http.use-cache in the filtered results.
  4. Double-click it will toggle it from “true” to “false”. Default should be “true”.

And you’re all set.

Sometime you want to force the cache on one particular page\request. You can do that by holding the “Ctrl” key while clicking reload or F5.

Cheers

Advertisements

2 Responses to “How-To: Turn off Firefox browser cache during development”

  1. It is Ctrl + F5 not Shift + F5 for refreshing the page.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: