Back to Forums








View Full Version : Firefox Speedup Fix


Big Booger
March 8th, 2004, 13:15 PM
Tired of Firefox creeping along at a snails pace?

Give this fix attached to this message a go..

If you see that it hasn't worked, or has made it worse just navigate here:

C:\Program Files\Mozilla Firefox\defaults\profile

and delete user.js

Then restart Firefox.

I have installed this fix and it has sped Firefox up dramatically. I am impressed.

By the way, the .exe installer assumes that you installed Firefox in the default location and that it is installed on C: drive.

If you have installed it in any other location just navigate to the Mozilla FireFox folder, defaults, and profile then extract the user.js file there.

:D

Conan
March 8th, 2004, 21:20 PM
I used this automated speed-up app for Mozilla, it's free and quite good:

http://www.computerbase.de/downloads/software/browser/mozilla_optimizer/

Big Booger
March 8th, 2004, 22:45 PM
yeah but with that optimizer, it also has the option to change your homepage to theirs, and well, I just don't like installing extra crap, when adding a simple file like user,js is all that is required.

This does pretty much the exact same thing as that optimizer without changing anything.

:D

lynchknot
March 8th, 2004, 23:18 PM
Or can just add this to your user.js file

user_pref("network.http.max-connections", 128);
user_pref("network.http.max-connections-per-server", 48);
user_pref("network.http.max-persistent-connections-per-proxy", 24);
user_pref("network.http.max-persistent-connections-per-server", 12);

// Enable pipelining:
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 100);
user_pref("network.http.pipelining.firstrequest", true);


user_pref("nglayout.initialpaint.delay", 200);

// turn on timer-based reflow management
user_pref("content.notify.ontimer", true);

// sets the allowed time between reflows in microseconds
user_pref("content.notify.interval", 100);

user_pref("content.notify.backoffcount", 200);

user_pref("content.notify.interval", 100);

user_pref("content.notify.ontimer", true);

rik
March 9th, 2004, 00:40 AM
good info all around...

Conan
March 9th, 2004, 02:32 AM
Or can just add this to your user.js file

Tried that before but it never speeded up like now when I used the optimizer.

efc
March 9th, 2004, 04:28 AM
I used this automated speed-up app for Mozilla, it's free and quite good:

http://www.computerbase.de/downloads/software/browser/mozilla_optimizer/

I tried to download this program repeatedly. It bombed every time.

Conan
March 9th, 2004, 06:38 AM
I tried to download this program repeatedly. It bombed every time.

Using FireFox to download the app., it loses the zip extension, but downloading with IE works perfectly, hhmmmn... :p

efc
March 9th, 2004, 12:59 PM
Using FireFox to download the app., it loses the zip extension, but downloading with IE works perfectly, hhmmmn... :p

That was wierd. Have it installed. Thanks Conan.

petard
March 9th, 2004, 13:17 PM
The download worked for me within FireFox. And my FireFox is running somewhat faster it seems. However, I'm still getting better all-round browser performance with Opera.

lynchknot
March 9th, 2004, 15:06 PM
Tried that before but it never speeded up like now when I used the optimizer.

The optimizer does the same thing but with lesser values. It actually delays rendering so that the page gets "painted" on faster. It is giving the illusion of speed when actually its taking longer from click to full render. From what i've been gathering.

See this thread: http://forums.mozillazine.org/viewtopic.php?t=53650

I am now using lazzlo's user.js

user_pref("browser.blink_allowed", true);
user_pref("browser.cache.memory.capacity", 65536);
user_pref("browser.cache.disk_cache_ssl", true);
user_pref("browser.chrome.load_toolbar_icons", 2);
user_pref("browser.display.enable_marquee", true);
user_pref("browser.display.screen_resolution", 81);
user_pref("browser.display.show_image_placeholders", false);
user_pref("browser.related.enabled", false);
user_pref("browser.urlbar.clickSelectsAll", true);
user_pref("browser.xul.error_pages.enabled", true);
user_pref("clipboard.autocopy", true);
user_pref("content.interrupt.parsing", true);
user_pref("content.max.tokenizing.time", 2250000);
user_pref("content.maxtextrun", 8191);
user_pref("content.notify.backoffcount", 5);
user_pref("content.notify.interval", 750000);
user_pref("content.notify.ontimer", true);
user_pref("content.switch.threshold", 750000);
user_pref("dom.allow_scripts_to_close_windows", false);
user_pref("dom.disable_image_src_set", false);
user_pref("dom.disable_open_click_delay", 1000);
user_pref("dom.disable_open_during_load", true);
user_pref("dom.disable_window_flip", true);
user_pref("dom.disable_window_move_resize", true);
user_pref("dom.disable_window_open_feature.close", true);
user_pref("dom.disable_window_open_feature.directories", false);
user_pref("dom.disable_window_open_feature.location", false);
user_pref("dom.disable_window_open_feature.menubar", true);
user_pref("dom.disable_window_open_feature.minimizable", true);
user_pref("dom.disable_window_open_feature.personalbar", true);
user_pref("dom.disable_window_open_feature.resizable", true);
user_pref("dom.disable_window_open_feature.scrollbars", true);
user_pref("dom.disable_window_open_feature.status", true);
user_pref("dom.disable_window_open_feature.titlebar", true);
user_pref("dom.disable_window_open_feature.toolbar", true);
user_pref("dom.disable_window_status_change", true);
user_pref("editor.singleLine.pasteNewlines", 0);
user_pref("inspector.blink.border-color", "#CC0000")
user_pref("inspector.blink.border-width", 1);
user_pref("inspector.blink.duration", 2000);
user_pref("inspector.blink.invert", false);
user_pref("inspector.blink.on", true);
user_pref("inspector.blink.speed", 200);
user_pref("inspector.dom.showAnon", true);
user_pref("inspector.dom.showWhitespaceNodes", true);
user_pref("layout.word_select.eat_space_to_next_word", false);
user_pref("layout.word_select.stop_at_punctuation", false);
user_pref("layout.xml.prettyprint", true);
user_pref("middlemouse.contentLoadURL", false);
user_pref("middlemouse.paste", true);
user_pref("middlemouse.scrollbarPosition", true);
user_pref("mousewheel.withcontrolkey.action", 1);
user_pref("mousewheel.withnokey.numlines", 10);
user_pref("mousewheel.withnokey.sysnumlines", false);
user_pref("mousewheel.withshiftkey.action", 3);
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("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
user_pref("network.http.proxy.pipelining", true);
user_pref("nglayout.initialpaint.delay", 750);
user_pref("plugin.expose_full_path", true);
user_pref("plugin.scan.Acrobat", "6.0");
user_pref("security.warn_entering_secure", false);
user_pref("security.warn_entering_weak", true);
user_pref("security.warn_leaving_secure", false);
user_pref("security.warn_submit_insecure", false);
user_pref("security.warn_viewing_mixed", false);
user_pref("signed.applets.codebase_principal_support", true);
user_pref("ui.submenuDelay", 50);
user_pref("ui.textSelectBackground", "darkblue");
user_pref("ui.textSelectBackgroundAttention", "lightgreen");
user_pref("ui.textSelectForeground", "white");Laszlo, you user.js code really improved my Firefox speed significantly !
I did scragz' table test with my Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040218 Firefox/0.8.0+ without an user.js in my profile directory and the result was a very slow 24 seconds !
With your user.js code implemented the result of scragz' table test was 9.2 seconds !
I also notice a significant speed improvement on other webpages too.
Scragz table test: http://scragz.com/tech/mozilla/test-rendering-time.php - mine is rendering in 6 seconds but I have much uploading and downloading at the same time. * edit - I just checked it against IE and it took 9 seconds!

Conan
March 10th, 2004, 07:49 AM
Scragz table test: http://scragz.com/tech/mozilla/test-rendering-time.php - mine is rendering in 6 seconds but I have much uploading and downloading at the same time. * edit - I just checked it against IE and it took 9 seconds!

IE = 19.485
FireFox = 21

By the way Lynch, that user.js is for dial-up users not broadband.

lynchknot
March 10th, 2004, 15:43 PM
Why do you say this is for dial-up? My Firefox is doing it in 4.6 now

Actually I modified it a little


user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 4);
user_pref("network.http.max-connections", 128);
user_pref("network.http.max-connections-per-server", 4;
user_pref("network.http.max-persistent-connections-per-proxy", 24);
user_pref("network.http.max-persistent-connections-per-server", 12);

Conan
March 10th, 2004, 21:12 PM
Why do you say this is for dial-up? My Firefox is doing it in 4.6 now

Actually I modified it a little


user_pref("network.http.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 4);
user_pref("network.http.max-connections", 128);
user_pref("network.http.max-connections-per-server", 4;
user_pref("network.http.max-persistent-connections-per-proxy", 24);
user_pref("network.http.max-persistent-connections-per-server", 12);

Because Lazlo said his settings are for Dial-up. Bet you haven't tweaked IE. While I like Firefox, it still cannot match IE's speed.

lynchknot
March 10th, 2004, 22:29 PM
yeah but my firefox is rendering at 4.6 while your IE is at 19.485 - (maybe just your connection at the time)

Conan
March 10th, 2004, 22:36 PM
yeah but my firefox is rendering at 4.6 while your IE is at 19.485 - (maybe just your connection at the time)

It's about connection speeds too. The only valid comparison is using both IE and Firefox on the same PC.

fabrice_martel
November 1st, 2004, 17:57 PM
my firefox :3.06 and my internet explorer 2.06