Speed up loading times in Mozilla/FireBird/FireFox/FireWhate

For system help, all hardware / software topics NOTE: use Coders Corner for all coders topics.

Moderators: Krom, Grendel

Post Reply
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Speed up loading times in Mozilla/FireBird/FireFox/FireWhate

Post by MD-2389 »

1. Type "about:config" in the adress field.
2. Set the value of network.http.pipelining to "true".
3. Set the value of network.http.pipelining.maxrequests to "100".
4. Set the value of network.http.proxy.pipelining to "true"
5. Set the value of nglayout.initialpaint.delay to "0"

Now watch as the loading times that already beat IE's go into overkill mode. Image
User avatar
Mobius
DBB_Master
DBB_Master
Posts: 7940
Joined: Sun Jun 03, 2001 2:01 am
Location: Christchurch, New Zealand
Contact:

Post by Mobius »

This reply page loaded quickly! Image
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

The tweak is more geared for those blessed with broadband connects, but it definitely works for those like me stuck with dial-down.
User avatar
De Rigueur
DBB Admiral
DBB Admiral
Posts: 1189
Joined: Wed Jun 06, 2001 2:01 am
Location: Rural Mississippi, USA

Post by De Rigueur »

I didn't see the 'nglayout.initialpaint.delay' variable in my config.
User avatar
Tyranny
DBB Defender
DBB Defender
Posts: 3399
Joined: Sun Nov 10, 2002 3:01 am
Location: Phoenix, Arizona

Post by Tyranny »

Yeah, I don't have it either with Mozilla 1.6, I just have..

nglayout.debug.enable_xbl_forms

&

nglayout.events.dispatchLeftClickOnly
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

<BLOCKQUOTE><font size="1" face="Arial">quote:</font><HR><font face="Arial" size="3">Originally posted by De Rigueur:
I didn't see the 'nglayout.initialpaint.delay' variable in my config.</font><HR></BLOCKQUOTE>

You gotta create it.
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

If its not there in about:config, its possibly something that mozilla can't use.

FireFox != Mozilla, tho you can build both from the same tarball.
User avatar
De Rigueur
DBB Admiral
DBB Admiral
Posts: 1189
Joined: Wed Jun 06, 2001 2:01 am
Location: Rural Mississippi, USA

Post by De Rigueur »

<BLOCKQUOTE><font size="1" face="Arial">quote:</font><HR><font face="Arial" size="3">Originally posted by MD-2389:
You gotta create it.</font><HR></BLOCKQUOTE>

Well, I added it. Not sure how to measure response time improvement. Subjectively, it might be a bit faster.
User avatar
Scorch
DBB Material Defender
DBB Material Defender
Posts: 4170
Joined: Sun Nov 08, 1998 3:01 am
Location: Rochester, NY

Post by Scorch »

sweet, I forgot about the about:config command... I do see a marked improvement, thanks.
User avatar
DarkShadow
DBB Admiral
DBB Admiral
Posts: 1371
Joined: Thu Apr 29, 1999 2:01 am
Location: Pittsburgh, PA, USA
Contact:

Post by DarkShadow »

I see good improvement here to thanks MD.
User avatar
Ferno
DBB Commie Anarchist Thug
DBB Commie Anarchist Thug
Posts: 15163
Joined: Fri Nov 20, 1998 3:01 am

Post by Ferno »

holy cheezeballs. that's fast.
User avatar
DCrazy
DBB Alumni
DBB Alumni
Posts: 8826
Joined: Wed Mar 15, 2000 3:01 am
Location: Seattle

Post by DCrazy »

Fast++, especially on sites (like the fricken SimCity website) that consist of over 100 images.

Thanks. Image
User avatar
Tyranny
DBB Defender
DBB Defender
Posts: 3399
Joined: Sun Nov 10, 2002 3:01 am
Location: Phoenix, Arizona

Post by Tyranny »

Holy jebus, I guess it does!

nifty Image

thx MD.
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

<BLOCKQUOTE><font size="1" face="Arial">quote:</font><HR><font face="Arial" size="3">Originally posted by fliptw:
<b> If its not there in about:config, its possibly something that mozilla can't use.

FireFox != Mozilla, tho you can build both from the same tarball.</b></font><HR></BLOCKQUOTE>

Actually flip, theres quite a few things that Mozilla supports in about:config that isn't there by default....such as making websites think that you're using a different browser. I've been using this tweak for the past couple of days without any ill effects.
Delkian
DBB Ace
DBB Ace
Posts: 200
Joined: Mon Dec 31, 2001 3:01 am
Location: Helsinki, Finland
Contact:

Post by Delkian »

The Things They Left Out extension also allows pipelining to be enabled via an options menu, as well as other configuration options that Mozilla has in its configuration panel but Firebird doesn't.
User avatar
Jeff250
DBB Master
DBB Master
Posts: 6539
Joined: Sun Sep 05, 1999 2:01 am
Location: ❄️❄️❄️

Post by Jeff250 »

"Set the value of nglayout.initialpaint.delay to "0""

Not a big fan of that-- it seems to remove the delay to display the page after some of the pictures have been downloaded. Prettier the other way.
User avatar
kurupt
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2506
Joined: Wed May 17, 2000 2:01 am
Location: Clinton, Ohio

Post by kurupt »

nice. thanks md

edit: whoops, i necro posted. teehee
User avatar
Avder
DBB Material Defender
DBB Material Defender
Posts: 4926
Joined: Sat Oct 09, 1999 2:01 am
Location: Moorhead, MN

Post by Avder »

Necrokurupto!!! AHHHHHHHHHHHHHHHHHHHHH!@~!!!!!!
User avatar
Mobius
DBB_Master
DBB_Master
Posts: 7940
Joined: Sun Jun 03, 2001 2:01 am
Location: Christchurch, New Zealand
Contact:

Post by Mobius »

Is there any way to create a DOS batch file which will adjust the values and place the create the nglayout value?

That'd rock!
User avatar
fliptw
DBB DemiGod
DBB DemiGod
Posts: 6459
Joined: Sat Oct 24, 1998 2:01 am
Location: Calgary Alberta Canada

Post by fliptw »

create a user.js file with the given values, like this:

Code: Select all

user_pref("network.http.pipelining",true);
user_pref("network.http.pipelining.maxrequests",100);
user_pref("network.http.proxy.pipelining",true);
user_pref("nglayout.initialpaint.delay",0);


and put them in firefox/mozilla's profile folder.
User avatar
Grendel
3d Pro Master
3d Pro Master
Posts: 4390
Joined: Mon Oct 28, 2002 3:01 am
Location: Corvallis OR, USA

Re: Speed up loading times in Mozilla/FireBird/FireFox/FireW

Post by Grendel »

MD-2389 wrote:3. Set the value of network.http.pipelining.maxrequests to "100".
May cause problems -- if that's applied to how many open requests go to a server: Typical settings are "4" for 1.0 servers and "2" for 1.1 servers (RFC2068).
User avatar
roid
DBB Master
DBB Master
Posts: 9996
Joined: Sun Dec 09, 2001 3:01 am
Location: Brisbane, Australia
Contact:

Post by roid »

for some reason those settings are ALREADY set in my install of firefox. i'm prettysure i havn't manually set them since i last dumped a fresh windows install image.

maybe these settings are now automatically set by firefox as default in firefox ver1 (publicbeta).
perhaps someone else who has not manually applied these settings and has a fresh install of firefox could check it out to see if they are already set?
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

roid, if you're using a profile that you've been using for a while, then you'll still have the same settings.
User avatar
roid
DBB Master
DBB Master
Posts: 9996
Joined: Sun Dec 09, 2001 3:01 am
Location: Brisbane, Australia
Contact:

Post by roid »

md the image didn't have firefox installed on it. it could be that i uninstalled it before making the image, but i doubt it.
User avatar
Vander
DBB Alumni
DBB Alumni
Posts: 3332
Joined: Thu Nov 05, 1998 12:01 pm

Post by Vander »

I just tried the settings. There is definitely a noticable improvement in page load times. I'm using 1.0.

Thanks for the tip.
User avatar
Mr. Perfect
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2817
Joined: Tue Apr 18, 2000 2:01 am
Location: Cape May Court House, New Jersey.
Contact:

Re: Speed up loading times in Mozilla/FireBird/FireFox/FireW

Post by Mr. Perfect »

Lil bump for a question about this tactic.
Grendel wrote:
MD-2389 wrote:3. Set the value of network.http.pipelining.maxrequests to "100".
May cause problems -- if that's applied to how many open requests go to a server: Typical settings are "4" for 1.0 servers and "2" for 1.1 servers (RFC2068).
What kind of problems would that cause? If I wanted to be safe and leave it at default of 4, would I be seeing a theoretical speed increase of 4% of MD's settings or what?
User avatar
Sage
DBB Admiral
DBB Admiral
Posts: 1409
Joined: Thu Aug 01, 2002 2:01 am
Location: Sega Genesis
Contact:

Post by Sage »

Thanks! This pages is loading SUPAFAS!!! Oh wow! :D
User avatar
Mr. Perfect
DBB Fleet Admiral
DBB Fleet Admiral
Posts: 2817
Joined: Tue Apr 18, 2000 2:01 am
Location: Cape May Court House, New Jersey.
Contact:

Post by Mr. Perfect »

One more question. nglayout.initialpaint.delay should be set as an integer and not a string, correct?
MD-2389
Defender of the Night
Defender of the Night
Posts: 13477
Joined: Thu Nov 05, 1998 12:01 pm
Location: Olathe, KS
Contact:

Post by MD-2389 »

Mr. Perfect wrote:One more question. nglayout.initialpaint.delay should be set as an integer and not a string, correct?
Seeing as you're entering a number, yes it should be set as an integer.
Post Reply