How to speed up Mozilla Firefox

Hi there, I know there are alot of websites around with info on speeding up firefox, but this is how to do it the proper way. The info is taken from tweakfactor.com and mozillazine.org, I’m just passing the info in an easier to read manner.

First of all you need to create a ‘user.js’ file in your Firefox Profiles directory, to do this make a .txt file in the folder shown below, depending on your OS:

You might need to turn on ‘show hidden files’.

Windows XP/2000 C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\default.xxx.

Windows 95/98/ME C:\WINDOWS\Application Data\Mozilla\Firefox\Profiles\default.xxx\.

Linux ~/.mozilla/firefox/default.xxx/.

MacOSX ~/Library/Application Support/Firefox/Profiles/default.xxx/.

After creating the .txt, paste the following text into it (without the Common to ALL configs bit).

Common to ALL configs

user_pref(„network.http.pipelining”, true);
user_pref(„network.http.proxy.pipelining”, true);
user_pref(„network.http.pipelining.maxrequests”, 8);
user_pref(„content.notify.backoffcount”, 5);
user_pref(„plugin.expose_full_path”, true);
user_pref(„ui.submenuDelay”, 0);

Now comes the bit where you have to decide on your PC and connection speed:

Fast Computer Fast Connection

user_pref(„content.interrupt.parsing”, true);
user_pref(„content.max.tokenizing.time”, 2250000);
user_pref(„content.notify.interval”, 750000);
user_pref(„content.notify.ontimer”, true);
user_pref(„content.switch.threshold”, 750000);
user_pref(„nglayout.initialpaint.delay”, 0);
user_pref(„network.http.max-connections”, 48);
user_pref(„network.http.max-connections-per-server”, 16);
user_pref(„network.http.max-persistent-connections-per-proxy”, 16);
user_pref(„network.http.max-persistent-connections-per-server”, 8);
user_pref(„browser.cache.memory.capacity”, 65536);

A couple settings of note – Firefox is allocated 4096 KB of memory by default and in this configuration we give it roughly 65MB as denoted by the last line. This can be changed according to what is used.

Fast Computer, Slower Connection

This configuration is more suited to people without ultra fast connections. We are not talking about dial up connections but slower DSL / Cable connections.

user_pref(„content.max.tokenizing.time”, 2250000);
user_pref(„content.notify.interval”, 750000);
user_pref(„content.notify.ontimer”, true);
user_pref(„content.switch.threshold”, 750000);
user_pref(„network.http.max-connections”, 48);
user_pref(„network.http.max-connections-per-server”, 16);
user_pref(„network.http.max-persistent-connections-per-proxy”, 16);
user_pref(„network.http.max-persistent-connections-per-server”, 8);
user_pref(„nglayout.initialpaint.delay”, 0);
user_pref(„browser.cache.memory.capacity”, 65536);

Fast Computer, Slow Connection

user_pref(„browser.xul.error_pages.enabled”, true);
user_pref(„content.interrupt.parsing”, true);
user_pref(„content.max.tokenizing.time”, 3000000);
user_pref(„content.maxtextrun”, 8191);
user_pref(„content.notify.interval”, 750000);
user_pref(„content.notify.ontimer”, true);
user_pref(„content.switch.threshold”, 750000);
user_pref(„network.http.max-connections”, 32);
user_pref(„network.http.max-connections-per-server”, 8);
user_pref(„network.http.max-persistent-connections-per-proxy”, 8);
user_pref(„network.http.max-persistent-connections-per-server”, 4);
user_pref(„nglayout.initialpaint.delay”, 0);
user_pref(„browser.cache.memory.capacity”, 65536);

Slow Computer, Fast Connection

user_pref(„content.max.tokenizing.time”, 3000000);
user_pref(„content.notify.backoffcount”, 5);
user_pref(„content.notify.interval”, 1000000);
user_pref(„content.notify.ontimer”, true);
user_pref(„content.switch.threshold”, 1000000);
user_pref(„content.maxtextrun”, 4095);
user_pref(„nglayout.initialpaint.delay”, 1000);
user_pref(„network.http.max-connections”, 48);
user_pref(„network.http.max-connections-per-server”, 16);
user_pref(„network.http.max-persistent-connections-per-proxy”, 16);
user_pref(„network.http.max-persistent-connections-per-server”, 8);
user_pref(„dom.disable_window_status_change”, true);

One of the changes made for this particular configuration is the final line where the status bar is disabled for changing web pages to save processor time.

Slow Computer, Slow Connection

We have entered the doldrums of the dial-up user

user_pref(„content.max.tokenizing.time”, 2250000);
user_pref(„content.notify.interval”, 750000);
user_pref(„content.notify.ontimer”, true);
user_pref(„content.switch.threshold”, 750000);
user_pref(„nglayout.initialpaint.delay”, 750);
user_pref(„network.http.max-connections”, 32);
user_pref(„network.http.max-connections-per-server”, 8);
user_pref(„network.http.max-persistent-connections-per-proxy”, 8);
user_pref(„network.http.max-persistent-connections-per-server”, 4);
user_pref(„dom.disable_window_status_change”, true);

Saving the ‘user.js’ file

Once you have finished adding the preferred code for your computer and connection speed you will obviously need to save the file. File > Save As > user.js

Thats it! I hope you find it useful, it has certainly speeded up my Firefox.

Lasă un răspuns

Completează mai jos detaliile despre tine sau dă clic pe un icon pentru autentificare:

Logo WordPress.com

Comentezi folosind contul tău WordPress.com. Dezautentificare / Schimbă )

Poză Twitter

Comentezi folosind contul tău Twitter. Dezautentificare / Schimbă )

Fotografie Facebook

Comentezi folosind contul tău Facebook. Dezautentificare / Schimbă )

Fotografie Google+

Comentezi folosind contul tău Google+. Dezautentificare / Schimbă )

Conectare la %s

%d blogeri au apreciat asta: