Taming Firefox

From WTFwiki
Jump to navigation Jump to search

Firefox steals ram like crazy, when I leave it up for multiple days it's not uncommon to see it at 300 megs in ram. If you have less than 768 megs of ram, you probably want to tune it a little. Also, this is for firefox 2.x as they're pushing pretty hard to get people to migrate off 1.5 these days :(

Memory Usage

  • browser.cache.memory.enable - Set this to false to disable caching in ram and only use the disk
  • browser.cache.memory.capacity - Add this key to set how much ram the cache can use (in kb)
  • browser.sessionhistory.max_total_viewers - How many pages to store in the forward/back cache (about 4mb each?)
  • browser. sessionhistory.max_entries - how many URLs you can navigate through using the forward/back buttons
  • network.prefetch-next - whether to prefetch the contents of links on the page

Tab Bar

Firefox 2 made the tab-bar all stupid; here's some setting to make work like it used to:

  • browser.tabs.tabClipWidth = 0
  • browser.tabs.taxMinWidth = 0
  • browser.tabs.closeButtons = 3

To hide the 'all tabs' button (which just wastes space IMO) add the following to chrome/userChrome.css in your firefox profile directory:

 .tabs-alltabs-stack {
   display: none !important;
 }

Theme

Get the firefox 1.5 theme for 2.0 here: https://addons.mozilla.org/en-US/firefox/addon/3479 the 2.0 one is just too ugly to endure...