• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Speedy Firefox tweak

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Arkaine23

Captain Random Senior Evil
Joined
Nov 8, 2001
Speed up Firefox

In the Firefox address field, type "about:config" and search for the following values
network.http.pipelining -- set it to "true"
network.http.pipelining.maxrequests -- set it to "12" (or higher)
network.http.proxy.pipelining -- set it to "true"

Now create the following:
Boolean -- network.http.pipelining.firstrequest -- set to "true"
Integer -- nglayout.initialpaint.delay -- set to "0"

And you should then notice a much faster Firefox (I think this works in Mozilla, too).

-Info courtesy of kmansvibes
 
Interesting - the last two entries used to be included in earlier versions, but they dropped them as of 0.9, so I figured maybe they had done that for a reason. I'll add them back and see if I can tell anything.
 
Here's another way that's easier.


Go into your profile (for me its ~/.mozilla/firefox/default.wxm)

make a new file called "user.js" and put the following in it

Code:
user_pref("nglayout.initialpaint.delay", 100);
user_pref("content.notify.ontimer", true);
user_pref("content.notify.interval", 100000);
user_pref("content.notify.backoffcount", 5);
user_pref("network.http.pipelining", true);
user_pref("network.http.proxy.pipelining", true);
user_pref("network.http.pipelining.maxrequests", 8);
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", 4);
user_pref("network.http.max-persistent-connections-per-server", 2);
 
Last time I promise. Make a file /home/you/.mozilla/firefox/default.wfp/user.js
with this inside it-



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");
 
Sweet. Before Firefoxes speed was insane, compared to IE it was beating it with your fists. Now its like beating it with a bat, in the junk.

Woohoo.

Thanks.
 
Arkaine23 said:
Last time I promise. Make a file /home/you/.mozilla/firefox/default.wfp/user.js
with this inside it-



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");


Where should I create the file, wordpad ok?
 
I used the method in post #1. THIS ACTUALLY FRIGGIN WORKS.

I didn't even know about the "about:config" to get to all those settings. Sweet! Thanks Arkaine23. Before, I thought that Firefox 0.9 was kinda slow, now it blows the doors of IE.

DIE, MICRO$OFT, DIE​
 
ZhengHe said:
Where should I create the file, wordpad ok?

This tweak might work on the Windows version of Firefox, but I have no idea where to put the file. As described in this post, the tweak is for the Linux version of Firefox.
 
works perfectly in windows. In windows you put it in C:\Documents and Settings\Your Name\Application Data\Mozilla\Firefox\Profiles\default.upt
 
Okay, so how do we know that it's actually working? I'm running the latest mozilla build on linux (2004090305) which came out late last night I believe. I try to constantly update so I'm using a new version every week, but I'm just wondering how do I know when this tweak is working. It SEEMS faster, but that's likely just my imagination getting excited. Will these options in the about:config page change when we use this user.js file or will they remain default? My about:config does not indicate any changes, but I have added your user.js file to my /home/MyName/.mozilla/default/yr6tod2w.slt folder (this is appearantly the mozilla default user, no?).

I even played around a bit and added your suggested user.js paramaters to my prefs.js, and that seemed to have no effect as well.
 
Last edited:
Wow, I just tried the tweak suggestions from post #1 and my browser is quicker than before. Thanks.
 
Okay, I finally got your tweaks with user.js working :) I noticed slight increases, but when I compared the last user.js posted by Arkaine to the first post in this thread, I noticed some discrepancies - particularly where at first you said maxrequests = 12, then in the user.js post you wanted it to =8. Also, the nglayout.initialpaint.delay originally you set as 0, then in user.js you changed it to 750. What gives? I changed the nglayout back to 0 and it actually appears quite a bit faster than it used to.
 
Update: I just tried changing/adding the paramaters as per the original post in this thread on my Windows XP machine with the latest version of firefox. It helped immensely. I guess I'll try out the user.js thing on windows as well, I'll post back with results.
 
Back