Misplaced Pages

HTTP pipelining: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 00:17, 1 May 2005 editQuale (talk | contribs)Autopatrolled, Extended confirmed users24,871 editsm sp← Previous edit Revision as of 04:24, 1 May 2005 edit undoAsqueella (talk | contribs)477 edits formatting + reasonable values for "maxrequests". (Check out faq at moz.org to see that 20-40 figure was nonsense)Next edit →
Line 3: Line 3:
Since it is possible to cram several HTTP requests in the same ] packet (the average ], or maximum segment size, being 512 bytes), fewer TCP packets are sent over the network, so pipelining benefits network load too. Since it is possible to cram several HTTP requests in the same ] packet (the average ], or maximum segment size, being 512 bytes), fewer TCP packets are sent over the network, so pipelining benefits network load too.


HTTP Pipelining requires both the client and the server to support it. A server is required to support it in order to be HTTP/1.1 compliant. Recent versions of the ] support it. HTTP pipelining requires both the client and the server to support it. A server is required to support it in order to be HTTP/1.1 compliant. Recent versions of the ] support it.


==How to enable HTTP pipelining in the Firefox web browser== == How to enable HTTP pipelining in the Firefox web browser ==
# Type ''about:config'' in the Location Bar.

# Scroll down to ''network.http.pipelining''.
# Go to about:config
# Double click it so its value is set to ''true''.
# Scroll down to network.http.pipelining
# Double click it so its value is set to "true" # Double click ''network.http.pipelining.maxrequests'' and enter a value into the box (2 to 4) and click OK.
# Double click network.http.pipelining.maxrequests & enter a value into the box (20 to 40) and click OK.


== External links == == External links ==
*A faq on pipelining, courtesy of mozilla.org: http://www.mozilla.org/projects/netlib/http/pipelining-faq.html * , courtesy of mozilla.org:
*A w3c page measuring the benefits of pipelining, along with modern design technologies (CSS and png): http://www.w3.org/TR/NOTE-pipelining * measuring the benefits of pipelining, along with modern design technologies (] and ])


] ]

Revision as of 04:24, 1 May 2005

HTTP pipelining appeared in HTTP/1.1. It allows clients to send multiple requests at once, without waiting for an answer. Servers can send multiple answers without closing their socket too. This results in fewer roundtrips and faster load times. This is particularly useful for Satellite Internet connections and other connections with high latency as separate requests need not be made for each image/Javascript file etc.

Since it is possible to cram several HTTP requests in the same TCP packet (the average MSS, or maximum segment size, being 512 bytes), fewer TCP packets are sent over the network, so pipelining benefits network load too.

HTTP pipelining requires both the client and the server to support it. A server is required to support it in order to be HTTP/1.1 compliant. Recent versions of the Apache HTTP Server support it.

How to enable HTTP pipelining in the Firefox web browser

  1. Type about:config in the Location Bar.
  2. Scroll down to network.http.pipelining.
  3. Double click it so its value is set to true.
  4. Double click network.http.pipelining.maxrequests and enter a value into the box (2 to 4) and click OK.

External links

Category: