ForeverGeek logo

  • Features
  • Cool Stuff & Geekery
  • Movies & TV
  • Anime & Comics
  • Games
  • More!
    • General
    • Archives
    • About ForeverGeek
    • Contact
    • Terms & Privacy

Make Firefox Faster

December 26, 2004 by derek

After you get past the “beginner” stage with Firefox, try this “power-user” trick to make it download pages faster by allowing multiple connections so it can download more than one file at a time. It’s only useful for broadband users, so if you’re still on dial-up you can just skip this one for now.

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!

More Firefox Tips

  • Firefox Optimization Tips
  • Fix Firefox Slowdowns
  • A Beginner’s Guide to Firefox
  • Duplicating your Firefox Profile
  • Recently Closed Tabs Feature on Firefox 2
  • When Downloads stop Working

Related

Filed Under: General Tagged With: Firefox, Optimization, Software, Tuning

Comments

  1. vuahung says

    May 2, 2005 at 8:39 PM

    how can i delete one string if i set it wrong instead for integer? pleasy explain clearlyer!!!
    please!

  2. Mathew says

    April 26, 2005 at 5:16 PM

    #37 > Anyways, (almost) every firewall violates the TCP/IP protocol by not answering hackers, rules exist to be broken. At least some of them do.

  3. Mathew says

    April 26, 2005 at 5:12 PM

    #41 & #42 > I guess it’s network.http.max-persistent-connections-per-server. I just set it to 10, and now I’m able to download more than 2 at a time.
    :-)

  4. mayank says

    April 2, 2005 at 9:38 AM

    ‘lastly right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0”.’ can’t do it.right click acts on the entries.so not able to name it nglayout.intialpaint.delay to 0.
    can anyone tell how they have done.

    thks in advance

  5. TRG says

    March 26, 2005 at 6:37 PM

    Oprea still rocks once you figure out it.. it free well if you know how to look for registioon codes at an Warez site. I tried firefox dont care for it.

  6. Mistadc says

    March 14, 2005 at 6:46 AM

    Instead of you lot trying to get faster browsing by ‘tweaking’ you borwsers i ask, why are you trying to get better things for free? Why not just get a faster connection and PAY for faster internet rather than f***ing up servers?

    *Cough Freelancers Cough*

    HAha..Ballers..

  7. Chris says

    March 8, 2005 at 12:03 PM

    Instead of you lot trying to get faster browsing by ‘tweaking’ you borwsers i ask, why are you trying to get better things for free? Why not just get a faster connection and PAY for faster internet rather than f***ing up servers?

    *Cough Freelancers Cough*

  8. Ronny says

    March 4, 2005 at 10:58 PM

    to get rid of an entire line thats not suppose to be there (i.e something you added) in about:config, just right click on the line and select “reset” then close all firefox windwos (ALL OF THEM) and wheny ou restart they should be gone.

    by the way, i didn’t notice any speed enhancement with this trick. ahh welll…

  9. Julz says

    February 25, 2005 at 11:18 PM

    man this is friggin fast!

  10. crontab says

    February 20, 2005 at 9:49 PM

    Here is a better tweak guide:
    http://workingbath.com/archives/2005/01/04/firefox-speed-tweak/

  11. tallphil says

    February 16, 2005 at 9:26 AM

    wow, I’m on a university ResNet connection which has got stupidly high bandwidth and websites now download literally two or three times faster! Fantastic!

  12. DTM says

    February 14, 2005 at 11:45 PM

    If this isn’t supposed to work on dial-up then there’s something wrong with mine tonight. I’m usually in bed by now, but the speed increase has been so great i can’t believe my eyes!!! I just had to stay up to test as many pages as possible to make sure i’m not dreamin’!!

  13. Tabitha says

    February 13, 2005 at 2:45 AM

    Comment 18 by AJ, – i almost wet me knickers hahahahahah!

  14. lewin says

    February 12, 2005 at 7:03 PM

    me too

    Now I’bve lost all my bookmarks

    pain in the arse

  15. Jeff says

    February 10, 2005 at 12:46 AM

    hi,

    I set this, and when I restarted my comp, the settings were erased!! How do I get it to remember the settings????

  16. DotWind says

    February 5, 2005 at 2:29 PM

    how to surf faster with firefox

  17. Max says

    February 1, 2005 at 12:57 PM

    The BEst HYIP Guide

  18. Marco (Griffith) Jardim says

    January 29, 2005 at 5:40 AM

    MSN Messenger opens hotmail on IE because of it’s integration of both, some of the things aren’t very usefull like the status icon next to the person that sent you the mail, but the alerts and calendar are quite helpfull.

  19. Derek says

    January 27, 2005 at 4:59 PM

    Daniel, MSN just uses IE automatically because it’s also made by MS. It bypasses the default browser.

  20. Unforgiver says

    January 27, 2005 at 4:58 PM

    Opera??? Sure, if you want to PAY for a browser. Tard….

  21. Daniel says

    January 25, 2005 at 9:49 PM

    MSN // FIREFOX ??

    Alright my MSN messenger will NOT open FIREFOX to get my Hotmail? AND YES my Firefox is my default and NOO I do NOT want to buy MSN plus!!! CAN anyone figure this one out?

  22. DT says

    January 25, 2005 at 5:42 PM

    I fiddled with the setting of Firefox (about:config) and now it doesn’t work well. How do I restore default setting

  23. vacantmind says

    January 14, 2005 at 7:35 PM

    bah, fire fox sucks… get opera

    http://www.worstluck.com

  24. Waynester says

    January 11, 2005 at 11:02 AM

    forgot to say i have 2 MEG Broadband DSL modem etc

  25. Waynester says

    January 11, 2005 at 11:01 AM

    Hi everyone, i tried ALL these tips for making FIREFOX faster, but when i close the browser down and open it up again, ALL the settings are back to normal!

    how do i do it so they stay to the new faster ones ?

  26. OldRetiredGeek says

    January 11, 2005 at 6:32 AM

    Regardless of what any of the comments say, this enhancement works. I use a cheesey dial-up through a no-name ISP and my pages load much, much faster (except https://… pages for some reason).
    Some of the previous pages which used to take close to a minute to load are now finished in less than 5 seconds.

  27. Alaa says

    January 8, 2005 at 12:27 PM

    Okay, I did the tweaks, but how do i make everything back to the default settings again??

  28. Scott Kingery says

    January 7, 2005 at 3:58 AM

    I have all kinds of tips here:
    http://tinyurl.com/5csxt

    You’ll find a link to my extensively commented user.js file that you can just download and pop into place.

  29. downforce says

    January 6, 2005 at 7:16 AM

    You can also download this which changes more settings:

    http://www.softpedia.com/get/Tweak/Browser-Tweak/Mozilla-Optimizer.shtml

  30. Shag says

    January 4, 2005 at 12:52 PM

    Wow, amazing how many stupid comments are made by people who don’t know what the fark they’re talking about. HAHAHA!

  31. Mouse says

    January 3, 2005 at 7:47 PM

    http://www.tweakfactor.com/articles/tweaks/firefoxtweak/4.html

  32. Martin Zucker says

    January 3, 2005 at 4:12 PM

    For a non-techie medical writer who sticks his head into a lot of websites for research, this Firefox speed-up trick works nicely. So what’s the bottom line on the value? Can I leave it on 30 and sleep at night, or do I set the value down to 8. I don’t want to contribute to destruction of cyberenvironment. Thanks. Marty

  33. joe says

    January 3, 2005 at 3:30 PM

    welcome to like 8 months ago! hahah!

  34. Ian says

    January 3, 2005 at 12:04 PM

    r.e. #45

    It has been the case that support for pipelining has been dropping across the web. The most likely culprit are the recent load-balancing mechanisms which may not respect the order of the requests and thus break pipelining.

    It seems that few newer software developers really bother to test their full compliance to HTTP/1.1, as IE and Firefox have pipelining disabled by default – the vicious circle completes and support for this advantageous mechanism is dropping not improving…

    This has forced Opera to rewrite the heuristics for how they toggle pipelining per server for their V8.0 – they have observed more problems with pipelining than ever before.

    The only hope is that as Firefox market share increases, developers may start to realise the advantages to finally supporting something that should have been implemented MANY years ago. Pipelining can clearly reduce the amount of packets per connection, and thus allow servers to handle more concurrent connections (it is ironic that a mechanism that should help load-balancing is being broken by that very class of software…)

  35. SocialChameleon says

    January 1, 2005 at 9:01 PM

    After making these tweaks, I noticed Firefox timing out consistently on a good amount of the websites I visit. After un-tweaking the tweaks, everything was back to normal.

  36. dave says

    January 1, 2005 at 8:06 PM

    Before doing these changes, read: http://weblogs.mozillazine.org/asa/archives/007164.html

  37. usayd says

    January 1, 2005 at 7:33 PM

    hey this is amazing thanks guys

  38. nick says

    January 1, 2005 at 5:59 PM

    @41:

    I think it’s a setting from the webservers you’re downloading from, i don’t think it has anything to do with firefox,

    if I’m wrong,pls let me know, bcause Icould use the “fix” too :)

  39. Karan Panchal says

    January 1, 2005 at 6:09 AM

    Yo, which mod do i need to make, to alow me to download more then 2 files from the same server @ the same time? currently firefox only lets me download 2 @ 1 time

    Thx

  40. Mark says

    January 1, 2005 at 4:41 AM

    Someone posted the pipelining thing on a forum along with this:

    network.http.max-connections : 64
    network.http.max-connections-per-server : 21
    network.http.max-persistent-connections-per-server : 8

    and this:

    browser.tabs.showsinglewindowmodeprefs : true

    Can anybody please tell me what that stuff does?

  41. Doug says

    January 1, 2005 at 3:02 AM

    What kind of peanut butter?

    Doug

  42. justanotheradmin says

    December 31, 2004 at 3:10 PM

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

    This setting violates the HTTP protocol, and gives you a speed boost by flooding the web server with multiple connections for every single image and page request. There’s a reason that they’re not the default.

  43. bob says

    December 31, 2004 at 9:08 AM

    with reference to the original post, i have conferred with the designer of firefox(my dad) and he says if these settings violate the HTTP protocol, and give you a speed boost by flooding the web server with extra connections. this can be overcome by spreading peanut butter on the monitor of the networked machine then running and hiding. This is whats calle the standard modulus default.These defaults are set to strike a balance which should be ok for everyone. tatty bye!!!

  44. Steve says

    December 31, 2004 at 8:24 AM

    Ooops, I just copied and pasted “about:config” instead of inserting it as about:config that is what caused the problem :)

  45. Steve says

    December 31, 2004 at 7:28 AM

    I typed in “about:config” and got shown the following warning by my Spy Stopper-

    Blocked
    Resource: Default

    This page has been blocked by SpyStopper due to security
    and Privacy concerns. Some Possible Reasons:

    # Tracks or Profiles you.
    # Gathers Private and Confidential Information from you.
    # Installs software on your machine without your approval.
    # Has Unsafe Content.
    # No Content other than Advertisements and Popup windows.

    If you are sure you want to visit this site, , please remove
    the URL from the blocking list.

  46. Kevin says

    December 31, 2004 at 6:52 AM

    Just go download the extension “configuration mania”, which gives you a GUI interface to many of the options in about:config without having to go through the manual crap. I’ve used it for quite awhile and love it. :)

  47. Frank Smith says

    December 31, 2004 at 5:32 AM

    On my Linux box it flies at the 8 setting.
    I reduced this from 20 and cant see any difference in speed. setting this really gave a speed hike.

  48. matt says

    December 30, 2004 at 5:01 PM

    these settings don’t stick
    once you change everything then close firefox it all resets back – or at least it is for me using pc version 1.0

    any help would be appreciated

  49. Alan De Smet says

    December 30, 2004 at 4:12 PM

    concerned: You’re confusing pipelining with the number of requests. As several people posted above, pipelining just changes how a single connection is used. You certainly won’t “[flood] the web server with with 20-something connections for every single image…”. It may not speed things upm it may tickle server side bugs cause pages to fail to load, but it won’t flood the poor server. This change is generally safe and shouldn’t cause any problems.

  50. concerned says

    December 30, 2004 at 3:22 PM

    These settings violate the HTTP protocol, and give you a speed boost by flooding the web server with 20-something connections for every single image and page request. There’s a reason that they’re not the default.

    These settings will not only cause many web servers to have problems, but they can also make your web browser be mistaken for a flood attack, which will make the server add your IP to an “ignore” list. Stay away from these “optimized” settings, unless you know exactly what they do and how they work.

  51. michaell says

    December 30, 2004 at 12:38 PM

    The limit for network.http.pipelining.maxrequests is 8. Anything higher than 8 has the same effect as setting it to 8.

    As others have said, changing this stuff is not guaranteed to make your Firefox faster. Making some things faster (e.g. the initial paint) slows other stuff down, and the ideal settings depend on the speed of your computer, the speed of your connection, and what web sites you are using. The defaults are set to strike a balance which should be ok for everyone. If you’re going to change them, you should understand what they do, and see what settings work best for you.

    To remove a pref from about:config, you can delete it from your prefs.js file manually as Frank said. Alternatively, if you choose “reset” in about:config, then quit Firefox, it won’t be saved, so when you run Firefox again it will have disappeared.

  52. Frank says

    December 30, 2004 at 11:06 AM

    about:config is just a rather inofficial interface to prefs.js open it with any text editor while Firefox isn’t running and delete the appropriate line.

  53. stew says

    December 30, 2004 at 10:05 AM

    i wanted to follow up on magnus’ question and see if there is any way to delete a string from the config page? highlight/delete doesn’t work and there isn’t a remove or delete option from the right click and/or tools menu.

  54. Ian says

    December 30, 2004 at 5:46 AM

    Sorry to double-post – but some more info for those interested in what pipelining actually is:

    http://www.w3.org/Protocols/HTTP/Performance/Pipeline.html

    http://www.mozilla.org/projects/netlib/http/pipelining-faq.html

  55. Ian says

    December 30, 2004 at 5:42 AM

    To further add info: as #23 states (somewhat incorrectly), pipelining DOES NOT add more connections – the original post is utterly wrong, but is a way of streaming data on single connection.

    There is AFAIK an in-built limit of 10 to network.http.pipelining.maxrequests – so setting it as 30 is ignored by Firefox anyway! That is for a GOOD reason – higher values are not better – they can cause complete page-loading failure and thus a longer loading time! Leave it at 4-6.

    The above comment #23 is neither fully correct – pipelining is different from persistent connections he describes. Connections are persistent (don’t close between each request) on a HTTP/1.1 compliant server irrespective of pipelining. Pipelining allows that single persistent connection to work more efficiently:

    http://www.w3.org/Talks/9704WWW6-WebPerf/slide7.htm

    NOTE: Opera has had this “tweak” for years, partly responsible for its reputation of being the fastest browser around.

    ALSO: setting nglayout.initialpaint.delay to 0 will increase page-loading time – especially on older machines or slow connections. It causes the page to be redrawn earlier (so perceptually seems quicker), but the extra CPU load will slow the rendering down (potentially increasing total load time). Set it to 750 or 1000 on older computers or slow connections. The default of 250 is just fine IMO as a fair average.

  56. Anthony Gorecki says

    December 29, 2004 at 7:57 PM

    Regarding “Set “network.http.pipelining.maxrequests” to some number like 30. This means it will make 30 requests at once.” and the subsequent comments regarding server spam, this is not correct. Pipelining makes consecutive requests on a -single- connection, hence “maxrequests” as opposed to “maxconnections”. Normally the browser would request one object (such as an image) and then terminate the connection, repeat, and repeat until all of the needed objects had been downloaded. Pipelining simple causes it to take the same behavior using only one connection.

  57. Travis says

    December 29, 2004 at 1:45 PM

    I believe that Internet Explorer defaults to 4 sessions at once. From your article, it appears that Firefox only opens one session by default. Is this correct? The default setting doesn’t seem very logical to me.

  58. Despingator says

    December 29, 2004 at 12:37 PM

    You should have only the config page open in firefox. and see this one on another browser. Otherwise Firefox might crash

  59. jonathan says

    December 29, 2004 at 10:45 AM

    wow.. this is awesome..

  60. KoD says

    December 29, 2004 at 9:34 AM

    Appears to work as well on Mozilla 1.7.x. Thanks
    /can’t get into that Firefox thing yet
    //be kind, I drive an antique Harley

  61. AJtheRETARD says

    December 29, 2004 at 7:09 AM

    fork it. im setting mine to 500,000,000 connections. next ill need sharks with fricken lazer beams on their heads. then i can rule the internet……
    MUAHAHAHAHAHAHAHAHAHHAHAHAHAHA!
    AJ

  62. Brian Arnold says

    December 28, 2004 at 9:22 PM

    The “Tweak Network Settings” plugin sets the max connections to 16, which seems to work well. 30 does seem a bit high, and while it’s true that httpd daemons terminate at 100 connections generally, there’s generally multiple httpd daemons running. The box should handle it just fine, but I think going down to 16 is still high enough to reap speed benefits without being overbearing on the server. Besides, unless the site is seriously image-heavy, there’s no reason 30 simultaneous connections would be made.

  63. basstech says

    December 28, 2004 at 6:30 PM

    This was already turned on in my Firefox, except for nglayout.initialpaint.delay

    Also connections was only set to 8.

    This made several slower sites like Orkut.com much faster.

  64. Andrew Robinson says

    December 28, 2004 at 3:57 PM

    Firefox Speed enhancement

  65. Eli the Bearded says

    December 28, 2004 at 2:05 PM

    Re: #13, Robert’s comment.

    Thirty connections at once is too much, I agree. Four or five is a friendly number. The benefits of pipelined requests can still be enjoyed with fewer simultaneous connections however.

  66. Robert Deaton says

    December 28, 2004 at 12:04 PM

    Great little tips, but only one problem, and that’s that you’re breaking servers by doing this. 3-5 requests is fine, but trying to do 30 requests at once puts some strain on the server. If two people try to access the same page at once with this set, that’s 60 connections. Most httpd’s are set to cut off after there are 100 connections made. So, 4 people with this set could not access the same site. I urge you to think things through before setting something like this and killing the websites you browse.

  67. Cleric says

    December 28, 2004 at 11:51 AM

    Derrrr this tweak kicks ass. I knew there was a reason Ive been using this browser for the past 2 years.

  68. Derek says

    December 27, 2004 at 10:39 PM

    Ctrl+Click is the equivalent of right clicking on a mac.

  69. zach says

    December 27, 2004 at 9:24 PM

    No right-click on a Mac Powerbook. What’s the keystroke equivalent of a right click? I tried just about everything, no luck.

  70. Magnus says

    December 27, 2004 at 5:34 PM

    Geof F. Morris of course I want to delete it. But how? I can’t mark it and then press “delete” (nothing happens), on the “rightclick menu” there’s no “delete” option.
    If anyone know how to delete a string, please describe it here like you would do to a threeyearold. :D

  71. Geof F. Morris says

    December 27, 2004 at 12:54 PM

    Magnus: Just delete the setting and create it anew.

    Wow, this is definitely faster.

  72. Magnus says

    December 27, 2004 at 8:38 AM

    So now I fucked up. I have a swedish version of FireFox and I made a new string instead of a integer (fucked up the translation). How can I erease the string I made?

  73. Patrick says

    December 26, 2004 at 6:39 PM

    It’s true that the last tweak isn’t included in “Tweak Network”. It is after all not a network tweak ;).

  74. Buddy Dolan says

    December 26, 2004 at 6:39 PM

    Is this going to hammer the websites with requests or bandwith usage

  75. Jippy78 says

    December 26, 2004 at 6:22 PM

    http://users-guide.org/index.php?c=text&id=29

    ilustrated.

  76. norgus says

    December 26, 2004 at 5:50 PM

    Also, if like me, you are near always downloading things and using most of your bandwidth, it isn’t really worth doing a tweak like this.

  77. Josh says

    December 26, 2004 at 5:49 PM

    except for the last tweak.

  78. Patrick says

    December 26, 2004 at 3:50 PM

    There’s an extension called “Tweak Network” that takes care of this.















Game of Thrones D&D Alignments

ForeverGeek © 2018 Splashpress Media