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 04:22, 21 June 2005 editMementoVivere (talk | contribs)Extended confirmed users5,459 edits Elaborated upon support for pipelining in HTTP/1.1 servers← Previous edit Revision as of 09:47, 14 July 2005 edit undoRedxelaSinnak (talk | contribs)137 editsm Grammar.Next edit →
Line 1: Line 1:
'''HTTP pipelining''' appeared in ]/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 ] connections and other connections with high latency as separate requests need not be made for each image/] file etc. '''HTTP pipelining''' appeared in ]/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 ] connections and other connections with high latency as separate requests need not be made for each file.


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.

Revision as of 09:47, 14 July 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 file.

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. Servers are required to support it in order to be HTTP/1.1 compliant. Although these servers are required to allow pipelined requests, they are not required to pipeline responses. Recent versions of the Apache HTTP Server support pipelining.

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: