Tiffany B. Brown

a mish-mosh of stuff

Firefox: Change ‘Clear Private Data’ defaults

Firefox' Private Data Panel

Sometimes when developing and testing a site, you need to clear your browser’s cache. Clearing the cache is particularly important when testing SWF files. Browsers tend to hold on to those like a pitbull on a chew toy.

Firefox makes it easy to clear your cache with its Clear Private Data feature (Tools > Clear Private Data). But by default, the Browsing History and Authenticated Sessions boxes are pre-checked in addition to the Cache box. If you just want to clear your cache, you have to uncheck those boxes and then click the “Clear Private Data Now” button.

That’s a pain in the touchas when you’re in a developing – uploading – testing loop. Luckily Firefox let’s you change that.

What to do

  1. Enter about:config in the address bar. Click the “I’ll be careful, I promise” button if one appears.
  2. In the Filter field, enter privacy.item. These are the current settings for the Clear Private Data box.
  3. Change the settings for privacy.item.sessions and privacy.item.history from true to false by double-clicking.

Restart Firefox, then go to Tools > Clear Private Data. Cache will be the only pre-selected option.

  • http://www.barelyfitz.com/ Patrick Fitzgerald

    Excellent, I always wondered why certain things were selected by default. I wish it would just remember the last settings you used.

    I rarely use "clear cache" setting for web development, because there are better ways to disable caching: the Web Developer Toolbar has a "disable cache" option, or proxys like Charles or Fiddler can turn off the cache to ensure you're fetching new data each time. This lets you chug away without having to repeatedly clear your cache.

  • http://www.barelyfitz.com Patrick Fitzgerald

    Excellent, I always wondered why certain things were selected by default. I wish it would just remember the last settings you used.

    I rarely use "clear cache" setting for web development, because there are better ways to disable caching: the Web Developer Toolbar has a "disable cache" option, or proxys like Charles or Fiddler can turn off the cache to ensure you're fetching new data each time. This lets you chug away without having to repeatedly clear your cache.

    • http://intensedebate.com/people/tiffanybbrown tiffanybbrown

      I have that feature enabled in the web developer toolbar, but for some reason it doesn't work too with SWF files for me.

  • http://intensedebate.com/people/tiffanybbrown tiffanybbrown

    I have that feature enabled in the web developer toolbar, but for some reason it doesn't work too with SWF files for me.

  • James

    I love you, thanks for sharing :)

  • James

    I love you, thanks for sharing :)