Skip to content


How To Make Firefox Faster

I came across this link tonight, and it’s good stuff. After applying these items, I noticed a huge improvement of the speed which Firefox loads pages.

How To Speed Up Firefox (Helpful Vanity)

Posted on 12/12/2004 12:45:50 PM PST by KoRn

Here’s something for broadband people that will really speed Firefox up:

1.Type “about:config” into the address bar and hit return. Scroll down and look for the following entries:

network.http.pipelining network.http.proxy.pipelining network.http.pipelining.maxrequests

Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.

2. Alter the entries as follows:

Set “network.http.pipelining” to “true”

Set “network.http.proxy.pipelining” to “true”

Set “network.http.pipelining.maxrequests” to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0″. This value is the amount of time the browser waits before it acts on information it receives.

If you’re using a broadband connection you’ll load pages MUCH faster now!

I was also reading somewhere (I don’t remember where now.. I restarted Firefox to check out the above changes) that you shouldn’t make the last “nglayout” change on OSX for some reason. But give it a try– you’ll like it! Of course this also increases the load on a given webserver as it gets more simultaneous requests per browser, but I’d say that the the speed improvement is worth it.

Posted in A Day In The Life Of, Culture, Firefox, Tips, Hacks, & Tricks. Tagged with , , , , , , , , , , , .

50 Responses

Stay in touch with the conversation, subscribe to the RSS feed for comments on this post.

  1. That “pipelining” will work on HTTP 1.1 servers, if memory serves… yup, the Mozilla FAQ has info on situations where it wouldn’t be useful, and why this is not currently the default config:
    http://www.mozilla.org/project.....g-faq.html

  2. Good link John. Yeah, I can remember in either the Netscape 3 or 4 days (perhaps even both), you could specify how many connections to make to servers at once. Of course it wasn’t a big help as I didn’t have any highspeed bandwidth action until 1997, and Netscape 4 wasn’t really stable until 98 or so, but hey.

    When did HTTP 1.1 become fairly mainstream? I’d assume 1995 or 1996? I didn’t really know many details about RFC’s, network protocols, etc until 98 or so… and by that time it seemed like there were very few browsers which didn’t support it.

    I can still remember thinking “I can’t wait until everyone is finally using 4.0 browsers.. I’m so tired of font tags!” :) We’re a little bit past that now…

  3. hey that’s great! signficantly improved my surfing speed. thank you..

  4. “When did HTTP 1.1 become fairly mainstream? I’d assume 1995 or 1996?”

    I don’t know current stats on HTTP1.1 server configs.

    I remember running into the Mozilla docs 3-4 years ago, but when I followed up elsewhere then I got the sense that there were some realworld servers already offering HTTP 1.1 features, but that the bulk were still to upgrade. (iow, much later than 1995-6, if ever.)

    I don’t know what it is now, though, and it’s a hard term to search for. If your experience runs into any of the dangers mentioned in the FAQ then I’d be interested in details, thanks.

  5. Impressive, this actually seem to have increased the speed fairly, great stuff guys :)

  6. Patrick Whittingham said

    It works with Mozilla 1.7 also. How does one config MS IE 6

  7. Just an FYI, but setting network.http.pipelining.maxrequests to anything over 8 won’t do any good because as far as HTTP 1.1 is concerned, 8 is the max, and that’s hardcoded into the 1.1 spec, so.. =)

  8. Nargule said

    How well this works is also dependant on how many client requests the server is allowed to allocate.

  9. Joeseph said

    Dear Brandon, thank You for your cooment about making the Firefox work faster, it comes truly handy and it works fine,
    cheer’s

  10. Setting the nglayout.initialpaint.delay to a higher number will render better results on higher connection speeds as it makes the page appear to load “all at once”. I have had a predefined user.js file on my blog for a while with this tweak + some additional tweaks to improve the speed. Cheers.

  11. ed said

    hey, after doing the above changes, it seems as though mozilla is using more cpu.. or is it just me.
    anyone noticed that ?

    still worth it though

  12. Michael said

    This may be a stupid question, but how will this effect secure sites? say, payment stuff? is this just linked to Get? or post also? I won’t, say, pay something 30 times with this method?

  13. SPG said

    You may not want to make the “nglayout” change on any operating system. Firefox programmer Asa Dotzler explains why:

    http://weblogs.mozillazine.org.....07164.html

    “The second change, setting the initial paint delay at zero, may get you some content on the screen faster, but it’s worth noting that it will dramatically slow down the time it takes the entire page to display. Here’s what’s going on. Gecko, Firefox’s rendering engine, is trying to optimize between the cost of waiting for a bit more data versus doing more painting and reflows as new data comes in. Waiting a bit longer before it starts painting the page gives Gecko a chance to receive more content before chewing up CPU cycles to render and reflow the document. If you drop this value down to zero or near zero, that means you’ll see the page start displaying a bit earlier, but not having received much data in that short interval, you’ll have a lot more paint and reflow cycles to complete rendering of the page.”

    So basically it’s up to you; do you prefer to see part of the page immediately, at the cost of making your computer spin its wheels and take longer to finish, or wait a few seconds for initial rendering but have the entire page finish faster?

    Either way, you can always change it back if you don’t like it. :)

  14. Hi, where can i find an online tutorial on firefox please anyone ?

  15. Dennis Schmidt said

    Thats a good link.
    It work real faster,
    Thank you

  16. Dennis Schmidt said

    Thats a good link.
    It work real faster,
    Thank you

  17. An extention of these tips:

    Search around for a RAM Disk program (allocates a section of memory to a virtual drive, ie R:\). Give it whatever you can afford. Configure Firefox and IE to store the temporary cache on the drive):

    R:\ (64mb)
    R:\Temporary Internet Files\ (IE 32mb)
    R:\FirefoxCache\ (FF 32mb)

    Memory-speed cache access (Faster searching if you want to get at the files, instant deletion on clear, etc.)

    I’m using RamDiskXP
    http://www.cenatek.com/product_ramdisk.cfm
    (There may be free programs available if you look around)

  18. tony said

    I tried doing this for a while and it definitly speeds up load time, BUT BEWARE that it will cause probs on some sites, most notably dynamic database driven systems. If pipelining.maxrequests is set too high you might get some strange page load errors where content dissapears. Setting it to 5 or 6 seems to stop the problem.

  19. Definitely a cool tweak, but firefox is seriously fast anyway.

  20. Tony 19 said

    yeah it made flash videos loud more faster thanks

  21. Antonio 19 said

    I apply this changes of “about:config�, to make firefox work faster. Boy i was wrong, first it does make the pages loud faster, but the problem is it does not show all the pictures and small things.
    so when back, to the orinal settings, and it feels the same now that look back.

  22. vinny said

    install the extension “fasterfox” from firefox add-ons website. i don’t know if this is said here before but i’ll post it if it is of some help. the extension “fasterfox” does everything posted above. i’ll give u the link for it. below is the link.

    https://addons.mozilla.org/firefox/1269/

  23. I did the same configuration on Netscape 8.1 and WOW! That works even faster than Firefox!! Just thought I’d try it out, and I’m definitely impressed. Try it!

  24. this was great thank you

  25. fox said

    that is great thing –i thryed it –but i did however use an ad to firefox wich had the simular efect –i used ”fasterfox” ad–and it is qite efective also –i realy wonder what will hapen if i change the network.http.pipelining.maxrequests to level wayyyy more then 30–can this action crush the sistem{i am not too god at computers becouse i have one since 4 monts^-^””}do you want me to give you a link to the ”fasterfox” ad ??

  26. @X

    Uhh, I wrote this post almost 3 years ago yet the link you left for CNet is very current.

  27. Jon said

    Yeah,I saw this in a video tutorial by JimmyRcom on YouTube.

  28. Martin said

    Hey man thanks! That totally worked! Firefox runs better than ever now!

Continuing the Discussion

  1. blog-j linked to this post on December 22, 2004

    Firefox On Speed

    Saw this posted by Brandon Harper of devnulled.com, and though it’s already in it’s second generation posting I needed to post it again…if for nothing other than my failing memory.
    This is a ridiculously easy way to speed up your Firefox brows…

  2. BlahStuff: A weblog by Jake Sutton linked to this post on December 22, 2004

    Reason #251 Firefox is the best browser

    Brandon points to this tip for speeding up your browsing experience on Firefox.

    It’s this near-infinite configurability that should make FF the power users’ browser of choice.

  3. andrewlucking.com linked to this post on December 22, 2004

    speedup firefox

    Brandon over at devnulled.com blogged about a simple way to improve firefox page loads in this post. I just made the suggested tweaks and had to join the clamour. A definite improvment! It would appear that the suggestion originated here.

  4. chattr +a -V linked to this post on December 22, 2004

    Faster firefox performance, seen first on FreeRepu

    Faithful to my contrarian disposition (dumped MS-Windows 3.0 after one morning to return to DESQview/X, then migrated to OS/2 Warp), this blog runs on a User-Mode Linux box at linode.com, and I follow some *nix blog.

  5. Gautam Guliani's home on the web linked to this post on December 23, 2004

    Tips for making Firefox faster for broadband use

    ++ devnulled ++: How To Make Firefox Faster

    I tried on OS X, it seems to make it run faster. I did need the la

  6. frontflash.de linked to this post on December 24, 2004

    FireFox beschleunigen

    Bei devnulled gibts ein How Too. Dann viel Spaß beim Basteln

  7. protected virtual void jayBlog { linked to this post on December 29, 2004

    Make Firefox Faster — Enable Pipelining

  8. protected virtual void jayBlog { linked to this post on December 29, 2004

    Make Firefox Faster — Enable HTTP Pipelining

  9. Puneet World linked to this post on December 30, 2004

    Make Firefox go Faster : pipelining Tweak

    There two ways to do so first available is the “Tweak Network Settings: Extension which can be added which will automatically… do the needful I came to know about this when I had already tried the manual tweak i would…

  10. JD on MX linked to this post on December 31, 2004

    Boing Firefox/Flash conflict

    Boing Firefox/Flash conflict? Anybody got an idea what “Ole” may be trying to talk about, in his moderated comment on a BoingBoing item on that pipelining option in Firefox which was discussed last week? “Enabling pipelining in Firefox can speed…

  11. Anything is POSSIBLE » Blog Archive » Make Firefox Faster linked to this post on March 21, 2005

    [...] From devnulled.com they write nice article about how to make firefox run more faster Read Full Story This entry was posted on Resou [...]

  12. ATB 05, Definitive? linked to this post on May 11, 2005

    Aumentar velocidad de navegaciĂłn con FireFox

    … Pero si quieres incrementar la velocidad solo sigue los pasos que se describen en Devnulled y que cito textualmente:

    Here’s something for broadband people that will really speed Firefox up…

  13. Spudart: Links linked to this post on February 2, 2006

    [...] Tracking Adsense clicks with Google Analytics zippy! 0 comments [...]

  14. emi.wazzap.dk » Blog Archive » Make firefox faster linked to this post on March 28, 2006

    [...] Well just a little tip for you firefox users, if you wanna make it load faster read the article in the link. but remember to read the comments, there are some results for different settings.. http://devnulled.com/content/2.....ox-faster/ [...]

  15. Speed Up Firefox - dsphotographic.com - Travel Photography by Darby Sawchuk linked to this post on May 13, 2006

    [...] This is old-ish news, but new to me, so I thought I would share. This page has a couple of effective ways of speeding up Firefox page rendering. They work too! [...]

  16. single player backgammon linked to this post on July 23, 2006

    single player backgammon

    single player backgammon
    single player backgammon – single player backgammon
    You seek to shield those you love and you like the role of the provider.
    I must have a prodigious quantity of mind; it takes me as much as a
    week sometimes to make it up.
    –…

  17. » Surviving A Slashdotting With a Celeron 466: My Slashdot Experience : devnulled: a blog by brandon harper linked to this post on October 6, 2006

    [...] Usually I do around 2-2.5 GB of web traffic per month, but in one day I did over 4 GB! Granted this isn’t impressive compared to a real production environment, but not bad for an old Celeron on a DSL line. I’ve also had one of my entries end up on del.ici.ous/popular which upped my traffic to about 4 GB+ of bandwidth in a month, but it was much more steady rather than one big rush of requests all at once. [...]

  18. Egonitron linked to this post on May 25, 2007

    The Truth About the Firefox “Pipelining” Trick…

    If you’re reading this blog, you probably use Firefox (77% of you, according to my analytics) and have possibly heard about the “pipelining” trick to speed up browsing. But does it really work? Yes…yes it does. But let me show y…

  19. Firefox configuration « The Outer Hoard linked to this post on March 11, 2008

    [...] Alioth recently recommended a web page on speeding up Firefox. I am trying out the suggested settings (except that I’ve set maxrequests to eight instead of [...]

  20. Make Firefox run faster on your PC ? |Mac Softwares, OS X Leopard softwares, Free online tools linked to this post on September 24, 2008

    [...] How to make Firefox faster in easy steps.(Easy) [...]

Some HTML is OK

(required)

(required, but never shared)

or, reply to this post via trackback.