Misplaced Pages

HTTP pipelining

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.

This is an old revision of this page, as edited by Minghong (talk | contribs) at 18:42, 8 May 2005 (Fix typo). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 18:42, 8 May 2005 by Minghong (talk | contribs) (Fix typo)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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 8) and click OK.

External links

Category: