Saturday, February 27, 2010

Enable HTTP Pipelining to Increase Firefox Speed

If your Firefox browser is too slow especially when you open many tabs at one time, you can consider to enable the HTTP pipelining feature in the browser. By default, this feature is turned off and you have to manually tweak the browser configuration to enable it.

Steps to Enable HTTP Pipelining:

  • Enter “about:config” at the address bar and press enter. You will see the following screen. So click “I'll be care, I promise”.


  • In the filter box, type “pipelining” and you will see the following screen.


  • Double-click the “network.http.pipelining”, it will be changed from the default “false” to “true”. Double-click again will change back to “false”. Since you want to enable the “http pipelining”, you make sure the value is “true”.
  • Double-click the “network.http.pipelining.maxrequests” and change the default value 4 to 8 .
  • Click OK and close the page.
[Updated on 18 April 2010]
The supported maximum value for pipelining request in firefox is 8 - change 10 to 8.

Note: Why 8? It is up to you to set the value. If the value is too high, it probably will hurts more and cause more delays. 10 is just a recommended value that I play around with and it seems pretty cool. Of course, you can play around with your own number to optimize your browser's speed.

In short, HTTP pipeling is a HTTP protocol that does not required the client to wait for the server to respond and keep sending the request. Because there are some delays waiting the respond from the server, enabling this HTTP feature can actually speed up the browser's page loading speed. To know more about HTTP pipelining, you can visit here.

8 Comments:

Garfield said...

it is ok to set until 20 if you are on 2Mbps line or above.

if you are on 1Mbps, set to 10 threads.

if on 512kbps streamyx, the set to 5 threads.

:)

ChampDog said...

Cool, thanks for the recommendation. :)

Garfield said...

anyway, 20 threads is already consider max, so dun try to open until more than 20 even if u on fiber optics

:)

ChampDog said...

10 works for me...

websites directory said...

Thanks for the nice Blog :)

santosh said...

Thanks for a nice posting.

Anonymous said...

Idiots! Firefox doesn't support a higher value than 8 for pipelining requests. Setting it higher than that doesn't do anything.

ChampDog said...

Good catch! I think you're right because it is stated in the documentation that the max is 8.

I guess it won't hurt if you set higher than 8? I will update the blog to reflect this. Thanks for your comment anyway. :)


Didn't find what you want? Use Google Search Engine below: