Archive for the ‘Firefox’ Category

How To Speed Up Firefox In 3 Simple Steps

Thursday, Oct 29th, 2009
Comments
219b932b09f9b5f1acf32540445b06c2 Del.icio.us

Firefox is a great browser and I can’t live without it, because of all its useful plugins. However, every so often, Firefox will devour all the memory on my MacBook and become so slow, that I’ll be forced to issue a “kill -9″ command.

Today, I have had enough, and so decided to go find some Firefox optimization tips that will help to speed up my Firefox. The following are 3 simple steps to make your Firefox fast again, consolidated from sources as listed at the bottom of this post.

Hope you’ll find this reference useful, and FYI, my Firefox is amazingly fast again!

1. Optimize Firefox Database

  • Menu > Tools > Error Console
  • Paste the following in the Code box, press “Evaluate”, and wait.
Components.classes["@mozilla.org/browser/nav-history-service;1"].getService(Components.interfaces.nsPIPlacesDatabase).DBConnection.executeSimpleSQL("VACUUM");

This vacuums the SQLite database, and is the most significant in speeding up Firefox! Remember to do this periodically.

2. Limit Your History Sizes

  • Menu > Preferences (Mac) / Options (Windows) > Privacy Tab
  • Set “Remember my browsing history for at least ? days” to a small number. Personally, I set mine to 10.

As for “Download History”, I also unchecked the option, because I have no need for it.

3. Change Settings in About:Config

  • Type about:config in your urlbar.
  • In the Filter box, search for the following names and edit them accordingly.
Browsing and Session Settings

browser.sessionstore.max_windows_undo

A positive integer indicating how many window closures to remember for later possible restoration. (Default is 3)

Suggestion: Reduce to 1

browser.sessionstore.max_tabs_undo

A positive integer indicating how many tab closures to remember for later possible restoration. (Default is 10)

Suggestion: Reduce to 4

browser.sessionhistory.max_entries

Number of pages stored in the history of your browsing session. Basically these are pages that can be reached using your Back and Forward buttons. (Default is 50)

Suggestion: Reduce to 10

browser.urlbar.maxRichResults

A non-negative integer corresponding to the maximum number of entries that can appear in the Location Bar auto-complete dropdown. (Default is 12)

Suggestion: Reduce to 6

browser.sessionstore.interval

A positive integer indicating the number of milliseconds between session saving operations. (Default is 10000, or 10 seconds)

Suggestion: Increase to 150000, or 2.5min

Networking Settings

network.http.max-connections

This integer preference takes values between 1 and 65535 inclusive, directly corresponding to the maximum number of HTTP connections Mozilla can have open at once. (Default is 30).

Suggestion: Increase to 48 or 96

network.http.max-connections-per-server

This preference takes values between 1 and 255 inclusive, directly corresponding to the maximum number of HTTP connections Mozilla can have open at once. (Default is 15)

Suggestion: Increase to 24

network.http.max-persistent-connections-per-server

This preference takes values between 1 and 255 inclusive, directly corresponding to the maximum number of HTTP keep-alive connections the application can have open at once to a single server. (Default is 6)

Suggestion: Increase to 12

network.http.pipelining

Attempt to use pipelining in HTTP 1.1 connections

Suggestion: Change to TRUE

network.http.pipelining.maxrequests

Any integer from 1 to 8 inclusive determines the maximum number of requests to pipeline at once. A value of 1 disables pipelining. (Default is 4)

Suggestion: Increase to 8

Resources
Bookmark & Share
Subscribe to WinstonYW
Winston{YW} Copyright © 2008
Powered By Wordpress, JQuery and A Lazy Search Monkey