View previous topic :: View next topic |
Author |
Message |
Hiryu n00b
Joined: 28 Apr 2003 Posts: 13
|
Posted: Fri Feb 27, 2004 3:31 pm Post subject: Make Firefox even faster! (also works for Epiphany) |
|
|
Be sure to read these threads for potential reasons to NOT do some(?) of these: --pjp
Use these settings to make Firefox download and render pages that much faster.
type in the address bar of Firefox.
Now change the following values from their default to these:
(double click on a pref to change it's value)
Code: | browser.turbo.enabled true
network.http.pipelining true
network.http.proxy.pipelining true (if you use a proxy)
network.http.pipelining.maxrequests 8
network.http.max-connections 30
network.http.max-connections-per-server 8
network.http.max-persistent-connections-per-proxy 8 (again, for proxy)
network.http.max-persistent-connections-per-server 8
nglayout.initialpaint.delay 100
| (Use the Filter bar to quickly find the correct prefs)
Restart Firefox.
The most interresting one is nglayout.initialpaint.delay. The value is the time in ms Firefox waits before rendering the page, setting it to 0 will result in 'flashing' pages during reload/click-throughs, as the page is rendered before enough data is downloaded to display the page.
Also, this seems to mostly benefit broadband users.
*disclaimer*
These values work best for me, your milage may vary. Use at your own risk. If you manage to break something, you get to keep all the pieces.
Last edited by Hiryu on Fri Feb 27, 2004 7:24 pm; edited 2 times in total |
|
Back to top |
|
|
slarti` Retired Dev
Joined: 20 Sep 2003 Posts: 376 Location: UK
|
Posted: Fri Feb 27, 2004 4:02 pm Post subject: |
|
|
Works nicely - does seem to make a difference _________________ Gentoo/AMD64, shell-tools, net-mail, vim, recruiters
IRC: slarti @ irc.freenode.net
Devspace |
|
Back to top |
|
|
polin8 n00b
Joined: 03 Oct 2002 Posts: 74 Location: Baltimore, MD USA
|
Posted: Fri Feb 27, 2004 4:11 pm Post subject: |
|
|
What impact do these settings have on the servers your connecting to?
btw, the same process works with epiphany. _________________ Jabber: bskahan*AT*jabber*DOT*org |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Fri Feb 27, 2004 4:35 pm Post subject: |
|
|
trying it now |
|
Back to top |
|
|
neenee Veteran
Joined: 20 Jul 2003 Posts: 1786
|
Posted: Fri Feb 27, 2004 4:37 pm Post subject: |
|
|
most of those options are usable with epiphany as well. |
|
Back to top |
|
|
jonnii n00b
Joined: 10 Feb 2004 Posts: 33
|
Posted: Fri Feb 27, 2004 5:11 pm Post subject: |
|
|
dont forget that increasing your max connections increases the load on the webserver. it might be wise to set that a little lower. also, i think 8 persistent connections is enough. |
|
Back to top |
|
|
HohlerMann n00b
Joined: 17 Dec 2003 Posts: 2
|
Posted: Fri Feb 27, 2004 5:19 pm Post subject: |
|
|
polin8 wrote: | What impact do these settings have on the servers your connecting to?. | VERY DETRIMENTAL and it goes against the recommendation of the HTTP spec. DO NOT USE THOSE MAX CONNECTION SETTINGS. |
|
Back to top |
|
|
charlieg Advocate
Joined: 30 Jul 2002 Posts: 2149 Location: Manchester UK
|
Posted: Fri Feb 27, 2004 6:04 pm Post subject: |
|
|
HohlerMann wrote: | polin8 wrote: | What impact do these settings have on the servers your connecting to?. | VERY DETRIMENTAL and it goes against the recommendation of the HTTP spec. DO NOT USE THOSE MAX CONNECTION SETTINGS. |
Yeah, it basically has your browser make n connections to the server in order to get the information back more quickly. A miniscule performance boost for you; a big performance hit for the server which suffers the load of n connections at once. _________________ Want Free games?
Free Gamer - open source games list & commentary
Open source web-enabled rich UI platform: Vexi |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Fri Feb 27, 2004 6:12 pm Post subject: |
|
|
hows:
Code: |
browser.turbo.enabled true
network.http.pipelining true
network.http.pipelining.maxrequests 8
network.http.max-connections 30
network.http.max-connections-per-server 8
network.http.max-persistent-connections-per-server 8
nglayout.initialpaint.delay 100
|
|
|
Back to top |
|
|
Hiryu n00b
Joined: 28 Apr 2003 Posts: 13
|
Posted: Fri Feb 27, 2004 7:23 pm Post subject: |
|
|
viperlin wrote: | hows:
Code: |
browser.turbo.enabled true
network.http.pipelining true
network.http.pipelining.maxrequests 8
network.http.max-connections 30
network.http.max-connections-per-server 8
network.http.max-persistent-connections-per-server 8
nglayout.initialpaint.delay 100
|
|
Seems to work just fine, changed the initial post with these settings. |
|
Back to top |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Fri Feb 27, 2004 7:53 pm Post subject: |
|
|
i meant does that comply with standards, i own a webserver and i dont want to break them as i know how bad that would be. |
|
Back to top |
|
|
Hairshorts n00b
Joined: 24 Aug 2003 Posts: 18
|
Posted: Sun Mar 07, 2004 6:34 am Post subject: |
|
|
Does bumping network.http.max-connections from the default of 24 to 30 really do that much to increase client performance or decrease server performance? It doesn't seem like that much of an increase to me. Also, what exactly does enabling network.http.pipelining do? |
|
Back to top |
|
|
qingl n00b
Joined: 02 Feb 2004 Posts: 6 Location: Changsha, Hunan, China
|
Posted: Sun Mar 07, 2004 4:08 pm Post subject: |
|
|
My firefox doesn't have nglayout.initialpaint.delay, dunno whether put it in user.js will have any effect ... |
|
Back to top |
|
|
scoobydu Veteran
Joined: 16 Feb 2003 Posts: 1076 Location: 'Mind the Gap'
|
Posted: Mon Mar 08, 2004 12:50 am Post subject: |
|
|
Well it does seem faster! thx _________________ Tyan Tiger K8W, 2xOpteron 240,Powerbook5,6 15" 1.5g, Macbook Black 2g, Mac Mini 1g, Ipod P60g.
| Linux - From a windows user perspective| |
|
Back to top |
|
|
Bastux Guru
Joined: 15 Dec 2002 Posts: 369 Location: France - Paris
|
Posted: Mon Mar 08, 2004 8:32 am Post subject: |
|
|
Works for me too
Thanks a lot!! |
|
Back to top |
|
|
dvc5 Guru
Joined: 06 Dec 2003 Posts: 433 Location: Sunnyvale, California
|
Posted: Mon Mar 08, 2004 8:38 am Post subject: |
|
|
This is a great thread tip. Thanks! I was wondering my my.yahoo.com always hangs when i first open firefox. _________________ #define NULL rand() /*heh heh heh */
Green Is Good |
|
Back to top |
|
|
converter Apprentice
Joined: 24 Dec 2002 Posts: 163
|
Posted: Mon Mar 08, 2004 2:35 pm Post subject: |
|
|
Code: | browser.turbo.enabled true |
You can forget this option, it's a no-op since some release of Firebird when the "turbo mode" support was removed from the code base. This is discussed here. _________________ converter |
|
Back to top |
|
|
pengo n00b
Joined: 22 Aug 2003 Posts: 53
|
Posted: Tue Mar 09, 2004 3:29 am Post subject: |
|
|
Hot damn! FireFox is blazin' fast now.
edit: i reversed the settings. apparently this is way against specs and is bad to do. |
|
Back to top |
|
|
Given M. Sur l33t
Joined: 03 Feb 2004 Posts: 648 Location: No such file or directory
|
|
Back to top |
|
|
Phk Guru
Joined: 02 Feb 2004 Posts: 428 Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time
|
Posted: Mon May 03, 2004 12:10 pm Post subject: |
|
|
VERY Nice
[] 's _________________ "# cat /dev/urandom >> /tmp/life" |
|
Back to top |
|
|
30726 Veteran
Joined: 24 Sep 2003 Posts: 1501
|
Posted: Mon May 03, 2004 1:13 pm Post subject: |
|
|
Holy shit! That nglayout.initialpaint.delay setting made a world of difference. Excellent tip! |
|
Back to top |
|
|
Gnu Kemist n00b
Joined: 18 Feb 2004 Posts: 36 Location: New Jersey
|
Posted: Wed May 05, 2004 4:59 pm Post subject: |
|
|
tln wrote: | Holy shit! That nglayout.initialpaint.delay setting made a world of difference. Excellent tip! |
I just recently saw this tip and was blown away with the performance boost!!! Thank you a million!!!
Gnu _________________ "Got a Mole Problem? Call Avogadro's Number: 602 1023!!!"
Gnu Kemist
VB/Oracle Developer by day
Linux Programmer by night
Linux Registered User 286200 |
|
Back to top |
|
|
lagrima Apprentice
Joined: 11 Feb 2004 Posts: 199 Location: Whorenge County
|
Posted: Thu May 06, 2004 2:46 am Post subject: |
|
|
i cannot find the nglayout.initialpaint.delay entry either it must be just cinco de mayo |
|
Back to top |
|
|
kezzla Apprentice
Joined: 21 Aug 2003 Posts: 253 Location: Austin, TX
|
Posted: Sat May 08, 2004 2:16 am Post subject: |
|
|
Wow nice feature with the paintdelay 100 instead of 0...sweet !!!
You may add this option like so:
Open up user.js in your firefox profile and add the following:
user_pref("nglayout.initialpaint.delay", 100);
Then restart Firefox and put brace yourself for SPEED ! hehe |
|
Back to top |
|
|
stonent Veteran
Joined: 07 Aug 2003 Posts: 1139 Location: Texas
|
Posted: Mon Jan 03, 2005 10:47 pm Post subject: |
|
|
You have to create the missing entries.
Though another site said the nglayout one should be 0. _________________ Inspiron 4100 & Sun UltraAXe
Portage on Solaris|Dell Laptop Hacks
The way you feel about organized religion is the same way I feel about organized socialism. |
|
Back to top |
|
|
|