Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Make Firefox even faster! (also works for Epiphany)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Hiryu
n00b
n00b


Joined: 28 Apr 2003
Posts: 13

PostPosted: Fri Feb 27, 2004 3:31 pm    Post subject: Make Firefox even faster! (also works for Epiphany) Reply with quote

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
Code:
about:config
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
View user's profile Send private message
slarti`
Retired Dev
Retired Dev


Joined: 20 Sep 2003
Posts: 376
Location: UK

PostPosted: Fri Feb 27, 2004 4:02 pm    Post subject: Reply with quote

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
View user's profile Send private message
polin8
n00b
n00b


Joined: 03 Oct 2002
Posts: 74
Location: Baltimore, MD USA

PostPosted: Fri Feb 27, 2004 4:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Fri Feb 27, 2004 4:35 pm    Post subject: Reply with quote

trying it now :-)
Back to top
View user's profile Send private message
neenee
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1786

PostPosted: Fri Feb 27, 2004 4:37 pm    Post subject: Reply with quote

most of those options are usable with epiphany as well.
Back to top
View user's profile Send private message
jonnii
n00b
n00b


Joined: 10 Feb 2004
Posts: 33

PostPosted: Fri Feb 27, 2004 5:11 pm    Post subject: Reply with quote

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
View user's profile Send private message
HohlerMann
n00b
n00b


Joined: 17 Dec 2003
Posts: 2

PostPosted: Fri Feb 27, 2004 5:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
charlieg
Advocate
Advocate


Joined: 30 Jul 2002
Posts: 2149
Location: Manchester UK

PostPosted: Fri Feb 27, 2004 6:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Fri Feb 27, 2004 6:12 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hiryu
n00b
n00b


Joined: 28 Apr 2003
Posts: 13

PostPosted: Fri Feb 27, 2004 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Fri Feb 27, 2004 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Hairshorts
n00b
n00b


Joined: 24 Aug 2003
Posts: 18

PostPosted: Sun Mar 07, 2004 6:34 am    Post subject: Reply with quote

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
View user's profile Send private message
qingl
n00b
n00b


Joined: 02 Feb 2004
Posts: 6
Location: Changsha, Hunan, China

PostPosted: Sun Mar 07, 2004 4:08 pm    Post subject: Reply with quote

My firefox doesn't have nglayout.initialpaint.delay, dunno whether put it in user.js will have any effect ...
Back to top
View user's profile Send private message
scoobydu
Veteran
Veteran


Joined: 16 Feb 2003
Posts: 1076
Location: 'Mind the Gap'

PostPosted: Mon Mar 08, 2004 12:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Bastux
Guru
Guru


Joined: 15 Dec 2002
Posts: 369
Location: France - Paris

PostPosted: Mon Mar 08, 2004 8:32 am    Post subject: Reply with quote

Works for me too :)

Thanks a lot!!
Back to top
View user's profile Send private message
dvc5
Guru
Guru


Joined: 06 Dec 2003
Posts: 433
Location: Sunnyvale, California

PostPosted: Mon Mar 08, 2004 8:38 am    Post subject: Reply with quote

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
View user's profile Send private message
converter
Apprentice
Apprentice


Joined: 24 Dec 2002
Posts: 163

PostPosted: Mon Mar 08, 2004 2:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
pengo
n00b
n00b


Joined: 22 Aug 2003
Posts: 53

PostPosted: Tue Mar 09, 2004 3:29 am    Post subject: Reply with quote

Hot damn! FireFox is blazin' fast now. :D

edit: i reversed the settings. apparently this is way against specs and is bad to do.
Back to top
View user's profile Send private message
Given M. Sur
l33t
l33t


Joined: 03 Feb 2004
Posts: 648
Location: No such file or directory

PostPosted: Tue Mar 09, 2004 4:10 am    Post subject: Reply with quote

Sweet. Thanks.
_________________
What is the best [insert-type-of-program-here]?
Back to top
View user's profile Send private message
Phk
Guru
Guru


Joined: 02 Feb 2004
Posts: 428
Location: [undef], Lisbon, Portugal, Europe, Earth, SolarSystem, MilkyWay, 23Q Radius, Forward Time

PostPosted: Mon May 03, 2004 12:10 pm    Post subject: Reply with quote

VERY Nice ;)

[] 's
_________________
"# cat /dev/urandom >> /tmp/life"
Back to top
View user's profile Send private message
30726
Veteran
Veteran


Joined: 24 Sep 2003
Posts: 1501

PostPosted: Mon May 03, 2004 1:13 pm    Post subject: Reply with quote

Holy shit! That nglayout.initialpaint.delay setting made a world of difference. Excellent tip!
Back to top
View user's profile Send private message
Gnu Kemist
n00b
n00b


Joined: 18 Feb 2004
Posts: 36
Location: New Jersey

PostPosted: Wed May 05, 2004 4:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
lagrima
Apprentice
Apprentice


Joined: 11 Feb 2004
Posts: 199
Location: Whorenge County

PostPosted: Thu May 06, 2004 2:46 am    Post subject: Reply with quote

i cannot find the nglayout.initialpaint.delay entry either :( it must be just cinco de mayo
Back to top
View user's profile Send private message
kezzla
Apprentice
Apprentice


Joined: 21 Aug 2003
Posts: 253
Location: Austin, TX

PostPosted: Sat May 08, 2004 2:16 am    Post subject: Reply with quote

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
View user's profile Send private message
stonent
Veteran
Veteran


Joined: 07 Aug 2003
Posts: 1139
Location: Texas

PostPosted: Mon Jan 03, 2005 10:47 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum