Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Tutorials & Tips
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Tutorials & Tips
The place to find Ubuntu related Tips & Tricks.

 
Thread Tools Display Modes
Old May 23rd, 2006   #1
Pjotor
First Cup of Ubuntu
 
Join Date: Apr 2006
Location: Too far away
Beans: 8
Ubuntu 6.10 Edgy
HOWTO: Speed up Firefox II

You can speed up your Firefox browser by doing the following:

Code:
cd ~/.mozilla/firefox/*.default/
Code:
gedit user.js
Everyone should put there:

Code:
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);
and after that one of the following depending on your computer and your connection:

FAST COMPUTER, FAST CONNECTION

Code:
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);
FAST COMPUTER, SLOWER CONNECTION

Code:
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

Code:
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

Code:
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);
DIAL-UP

Code:
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);
From: http://www.tweakfactor.com/articles/...oxtweak/4.html
__________________
"We have met the enemy and he is us."

Last edited by Pjotor; October 30th, 2006 at 07:30 AM.. Reason: typo
Pjotor is offline   Reply With Quote
Old June 5th, 2006   #2
Toxicity999
Quad Shot of Ubuntu
 
Toxicity999's Avatar
 
Join Date: Mar 2006
Location: Maine
Beans: 360
Ubuntu Jaunty Jackalope (testing)
Send a message via AIM to Toxicity999 Send a message via MSN to Toxicity999
Re: HOWTO: Speed up Firefox II

sounds Identical to faster fox of winows
Toxicity999 is offline   Reply With Quote
Old June 7th, 2006   #3
kingsidy
Ubuntu Extra Shot
 
kingsidy's Avatar
 
Join Date: Sep 2005
Location: Cleveland, Ohio
Beans: 350
Ubuntu 6.06
Send a message via AIM to kingsidy Send a message via Yahoo to kingsidy Send a message via Skype™ to kingsidy
Re: HOWTO: Speed up Firefox II

exactly what i was thinking. that extension is often overlooked.
__________________
Simply the KING
kingsidy is offline   Reply With Quote
Old June 7th, 2006   #4
wwood
5 Cups of Ubuntu
 
Join Date: Jun 2006
Beans: 16
Re: HOWTO: Speed up Firefox II

Minor correction.

Shouldn't there be a starting double quotes in line 7 of the

FAST COMPUTER, FAST CONNECTION

So it should read

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", 4;
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", ;
user_pref("browser.cache.memory.capacity", 65536);



Correct?
wwood is offline   Reply With Quote
Old June 7th, 2006   #5
simplyw00x
Way Too Much Ubuntu
 
simplyw00x's Avatar
 
Join Date: Oct 2005
Location: London
Beans: 300
Send a message via MSN to simplyw00x Send a message via Skype™ to simplyw00x
Re: HOWTO: Speed up Firefox II

Most of these settings are available in FasterFox, and many of them are irresponsible and cause excess traffic on websites, thus pushing up bandwidth bills. Re-posting this by telling people to edit user.js instead of the usual about:config doesn't change how old and bad these 'improvements' are.
simplyw00x is offline   Reply With Quote
Old June 7th, 2006   #6
M4LFUNCT10N
5 Cups of Ubuntu
 
Join Date: May 2006
Location: Pacific NW
Beans: 26
Ubuntu 6.06
Re: HOWTO: Speed up Firefox II

Not sure if i'm the only one, but doing those changes actually slowed down firefox for me.
M4LFUNCT10N is offline   Reply With Quote
Old June 8th, 2006   #7
dr_d
A Carafe of Ubuntu
 
Join Date: Feb 2006
Location: australia
Beans: 147
Ubuntu 6.10 Edgy
Re: HOWTO: Speed up Firefox II

I think it would be nice if you would provide more detailed info about the connection speed these mods are optimized for.

For example, I have 512KB broadband. I know it's not a slow connection, but does it count as a fast connection or a slower connection?

much appreciated.
dr_d is offline   Reply With Quote
Old June 8th, 2006   #8
xXx 0wn3d xXx
Dark Roasted Ubuntu
 
xXx 0wn3d xXx's Avatar
 
Join Date: Jan 2006
Beans: 1,113
Ubuntu 7.10 Gutsy Gibbon
Send a message via AIM to xXx 0wn3d xXx
Re: HOWTO: Speed up Firefox II

Quote:
Originally Posted by dr_d
I think it would be nice if you would provide more detailed info about the connection speed these mods are optimized for.

For example, I have 512KB broadband. I know it's not a slow connection, but does it count as a fast connection or a slower connection?

much appreciated.
I would think that it would be a faster connection. That's just my optinion since it generally is a fairly fast connection and slow connections means dial-uo or isdn.
xXx 0wn3d xXx is offline   Reply With Quote
Old July 18th, 2006   #9
TuxCrafter
Ubuntu Extra Shot
 
Join Date: May 2006
Location: The Netherlands
Beans: 392
Xubuntu Karmic Koala (testing)
Re: HOWTO: Speed up Firefox II

Thx for the info is there a big diffrence in using fasterfox?

also i thing this is wrong
Code:
gedit user.js
it should be
Code:
gedit prefs.js
Thx again

Ps this is wrong info prefs.js gets overwriten i have made a new file called user.js and used it

Last edited by TuxCrafter; July 20th, 2006 at 09:20 AM.. Reason: I was wrong :-D
TuxCrafter is offline   Reply With Quote
Old July 20th, 2006   #10
aeto
A Carafe of Ubuntu
 
aeto's Avatar
 
Join Date: Jun 2006
Location: Singapore
Beans: 101
Send a message via Skype™ to aeto
Re: HOWTO: Speed up Firefox II

tuxcrafter: prefs.js gets overwritten after u exit firefox. it is already stated in there.
aeto is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:55 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry