matt-helps




Firefox 3 super speed increase

by Matt Parkins
2 months ago (Friday, June 27, 2008)
Last update Thursday, July 17, 2008
128006 reads ( Permalink )

Following on from my previous article, Firefox 3 Easter Eggs, I have discovered that broadband users can get a significant speed increase from Firefox just by changing a couple of settings.  Firefox is distributed with settings that will work with any machine or setup, but really anyone with a half-decent connection can make these changes and get a great speed increase, and here's how you do it!

Inside the address bar type:

about:config

and then find:

network.http.pipelining

network.http.proxy.pipelining

and set them both to "true".  This adjusts the pipelining settings.


Then find

network.http.pipelining.maxrequests

and set it to 8, though you should feel free to play with this number a little and tweak it as you see fit - the article http://kb.mozillazine.org/Network.http.pipelining.maxrequests  suggests that 8 is easiliy sufficient.

Finally, right-click on any setting and select 'new' and then 'integer'.   Set the name to "nglayout.initialpaint.delay" (you might want to copy & paste it) and set the value to "0" (zero).  This removes the render delay. 

And hey presto you should notice a sigificant speed increase from a simple optimization!

ps. You may be interested in a related article: Firefox 3 Easter Eggs (fun hidden messages in firefox 3).

Bookmark and Share

Please, digg, stumble or share this page - we really notice & appreciate when you do!



Useful & Related Links

Firefox 3 Easter Eggs
Mozilla
Mozillazine article on Max Requests




Comments

There are 30 comments! You can have your say on this article by filling in the form after all the comments!

somebody

5 weeks ago (01.02 on Monday, July 28, 2008)

thanks!

Matt

5 weeks ago (13.10 on Sunday, July 27, 2008)

You should be able to create it then!

jugger

5 weeks ago (14.34 on Saturday, July 26, 2008)

network.http.pipelining is not on my list in About:config. the others are there, but not this one.

Sparks Fly

5 weeks ago (21.18 on Friday, July 25, 2008)

Fruck what Jon said! Mine's so much faster now, I just hope I don't get pulled over by an internet trooper...

limpingwolf

6 weeks ago (00.30 on Monday, July 21, 2008)

thanks and keep up the good works

Matt

6 weeks ago (23.41 on Thursday, July 17, 2008)

Mork & Mindy ?? Who can forget!!

Gary in Kansas

6 weeks ago (19.53 on Thursday, July 17, 2008)

I agree. He is NOT seven feet tall but all writeups on the movie say he is. Notice the platform shoes that outdid any shoes the Beatles ever wore. And most camera shots were pointing up at him shooting from about thre feet off the ground. Why he had to be seven feet tall when he already has a robot who can destroy earth with Windows Vista is a mystery to me. The About: trick really does reveal the famous words that stopped the robot from zapping us all. I was only four but that movie scared the #$#$% out of me! I wish I could tell the programmer at Firefox his hidden programing trick has been discovered. Firefox, Google and Microsoft let their programmers bury these trciks in programs in programs in return for no pay, working 24/7, sleeping on their desk and eating left over Windows 98ME ads. Anyway, try it and bask in the aura that you are one of the very first to view this major league buried Easter Egg. THE sci-fi film of all time and an Easter Egg plus the newest entrant to the Robot Hall of Fame. History has been made on this Web site that will live for centuries!

Nanu nanu! no takers?

Mads

6 weeks ago (09.50 on Thursday, July 17, 2008)

Great article, but the second setting is supposed to be network.http.proxy.pipelining, no big deal really but anyway..

Mads

6 weeks ago (09.50 on Thursday, July 17, 2008)

Great article, but the second setting is supposed to be network.http.proxy.pipelining, no big deal really but anyway..

Mel

6 weeks ago (09.43 on Thursday, July 17, 2008)

This is pretty cool. I definitely see an increase in speed.

CrimsonPirate

6 weeks ago (09.18 on Thursday, July 17, 2008)

Gary from Kansas, I was just a 9-year-old kid when Klaatu and Gort landed in D.C. Funny, Michael Rennie didn't look 7 ft. tall.

Going to try this when I get home from work.

Gary from Kansas

6 weeks ago (21.08 on Wednesday, July 16, 2008)

You missed the neatest hidden Google message!

Gort! Klaatu barada nikto! appears as a possible fill-in addresss when just the word about: is typed into the address window.

As all sci-fi buffs know "Gort! Klatatu barada nikto! is the famous phrase uttered to the eight foot tall robot from outer space sometime later after emerging from his space ship trailing his seven foot very human looking Klaatu.

The space craft had been quietly parked on the White House lawn for days causing many people to stop and stare for some odd reason. Plus a few dozen tanks and other Army toys always "worthless" in a good space invaders movie.

The phrase was "alien speak" command that stops your standard robot who is always along for the ride from his preprogrammed mission to destroy Earth. One of the assembled army soldiers panicks and shoots the visitor for parking for whole three days in a no standing zone. You know they are very strict in Washington D.C. about parking. All other crime is encouraged in D.C. but NOT parking violations!

The seven foot tall alien visitor, Klaatu and his eight foot tall robot who did get a chance to rough up much of Washington D.C. before the injured spaceman revealed the secret command to "stop making a mess of the city" to the standard studio actor's guild issued heroine that has to appear in all such movies.

This is all from the classic B&W film "The Day the Earth Stood Still". Still one of the best sci-fill thrillers ever made even though it was made in 1951.

It used to be shown every Halloween but not too often these days being in B&W and people being vaporized are done in a clean and painless matter (they just disappear from the screen as the death ray from the robot hits them instead of today's sci-fi death where all earthlings have to have their innards splashed against walls with many close-ups for the directors of today). Too much for me! Give me a clean, no spill, no mess clean-up vaporization any day!

Personally, I'm pleased that Gort! the robot was inducted into the robot hall of fame. Well deserved!

http://www.robothalloffame.org/06inductees/gort.html

BTW -- remember the words Gort! Klatatu barada nikto! You may need them someday. Especially
after the upcoming election.


Gary nanu nanu (from what TV show?) bonus question gyantis@gmail.com

Ryan

6 weeks ago (19.54 on Wednesday, July 16, 2008)

Works great, Thank you!

Nate

6 weeks ago (18.24 on Wednesday, July 16, 2008)

Yeah, definite improvement over the previous settings. I used this in Firefox 2, but yeah, for some reason they don't carry over. Pages tend to load much quicker and are very snappy now.

Jake

6 weeks ago (15.54 on Wednesday, July 16, 2008)

Wait, nevermind.
Heh.

Jake

6 weeks ago (15.52 on Wednesday, July 16, 2008)

I can't figure out how to change them to true.
A little help?

alaska

6 weeks ago (11.55 on Wednesday, July 16, 2008)

OH MY GOD

huge speed increase. I've got a 15mb/15mb connection and finally Firefox is taking full advantage of it. Never browsed faster. Every site on a decent server loads faster than I can click.

nothing

6 weeks ago (18.03 on Monday, July 14, 2008)

What about "network.http.pipelining.ssl" ?

newyorkdude

7 weeks ago (20.58 on Sunday, July 13, 2008)

Is this faster as in "wham bam thank you ma'am?" Will it leave anyone dreaming of slower hands?

jon

2 months ago (15.31 on Monday, July 7, 2008)

It seems to have a tiny effect, but you'll probably never notice it. Not very scientific, but I used the Fasterfox timer to measure how long a page takes to load, and then tried with the default settings (4 pipeline requests) 20 times, and then with 8 requests 20 times. On this page.

Average for default = 1.78s
Average for tweaked= 1.56s

Not a real big difference, but maybe it works better on a page that has more to load...

And sorry about wasting your bandwidth, but you kinda brought it up ;)

harakiri

2 months ago (03.04 on Sunday, July 6, 2008)

The nglayout.initialpaint.delay will make webpages render incorrect with wrong pictures or blurred pictures , do not use that one.
The other settings however are great :-)

Matt

2 months ago (10.18 on Friday, July 4, 2008)

Thanks Gary & Sparticus, I've looked into the technical aspects of the maxrequests settings and you're right about setting it to 8 maximum - I've updated the article to reflect Mozilla's technical article on the subject.

garyvdh

2 months ago (00.41 on Friday, July 4, 2008)

The maximum value for the "network.http.pipelining.maxrequests" is 8. Setting it higher than that (25 as you suggest) is pointless. If you were able to set it higher than that it would also be very irresponsible as you would be putting more strain on Web Servers (Most of which can only handle a Total of 100 simultaneous requests). Please don't advocate that!
See here for more info... (in fact Mozilla warns that setting this figure to a higher value can actually cause a DELAY)!!!
http://kb.mozillazine.org/Network.http.pipelining.maxrequests

TruckerJohn

2 months ago (22.35 on Thursday, July 3, 2008)

Awesome, I was ready to stop using my Hotmail account because I thought msn was the problem. Now if I could just get rid of thin blank area st the bottom of the screen that appeared when I upgraded to the version before 3.0.

Greg

2 months ago (22.23 on Thursday, July 3, 2008)

Interesting. It appears these settings were not carried over from my previous version. Forgot to check them after ubdating. As for stealing bandwidth. You are taking away anything, if your downloading a 4 megabyte page you only take 4 megs. The difference is how fast you get it. It should equal out since you in and out sooner.

Sparticus

2 months ago (18.38 on Thursday, July 3, 2008)

I keep in mind that this technique can work, but robs the bandwidth from the websites your browsing. Some website won't even take more requests from the same host. Also technically 8 is the max Firefox will truly use. Though the default 4 should be more than plenty. One user making 4 requests? The big websites have plenty of width to share that's for sure, but there are a lot of small places out there.

sub

2 months ago (10.45 on Thursday, July 3, 2008)

definitely seems faster although it might be a placebo effect, there are no ill effects so i do not see any reason to abstain

Camshaft

2 months ago (17.16 on Tuesday, July 1, 2008)

wow thanks definite improval.

Mole

2 months ago (06.08 on Sunday, June 29, 2008)

Thanks man

leigh

2 months ago (07.49 on Saturday, June 28, 2008)

sweet! thanks for this.


Leave a Comment


Who are you?
Say your piece
Are you human?





AddThis Feed Button


Google