Network.http.pipelining: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
m (→‎Related bugs: Update bug report list)
 
(30 intermediate revisions by 18 users not shown)
Line 2: Line 2:


==Background==
==Background==
[[HTTP]] is the application-layer protocol that most web pages are transferred with. In HTTP 1.1, multiple requests can be sent before any responses are received. This is known as pipelining. Pipelining reduces page loading times, but not all servers support it. Some servers may even behave strangely if they receive pipelined requests. If a proxy server is not configured, this preference controls whether to attempt to use pipelining.
[http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol HTTP] is the application-layer protocol that most web pages are transferred with. In HTTP 1.1, multiple requests can be sent before any responses are received. This is known as [http://en.wikipedia.org/wiki/HTTP_pipelining pipelining]. Pipelining reduces network load and can reduce page loading times over high-latency connections, but not all servers support it. Some servers may even behave incorrectly if they receive pipelined requests. If a proxy server is not configured, this preference controls whether to attempt to use pipelining.


==Possible values and their effects==
==Possible values and their effects==
<!-- Hey! You! This is not the place to change your preferences! You need to do that in about:config. See the top of the article for details. -->
===true===
===true===
<!-- Hey! You! This is not the place to change your preferences! You need to do that in about:config. See the top of the article for details. -->
Attempt to use pipelining in HTTP 1.1 connections.
Attempt to use pipelining in HTTP 1.1 connections.


===false===
===<!-- If you change this text right here, absolutely nothing will happen in your browser's configuration -->false<!-- Yes, that text. Nothing will happen. Stop it. -->===
<!-- Hey! You! This is not the place to change your preferences! You need to do that in about:config. See the top of the article for details. -->
Never use pipelining. (Default)
Never use pipelining. (Default)


==Caveats==
==Caveats==
* This preference only has an effect if you are not using a proxy. If you are using a proxy, see [[network.http.pipelining]].
* This preference has an effect only if you are not using a proxy. If you are using a proxy, see [[network.http.proxy.pipelining]].
* [[network.http.keep-alive]] must be set to true for pipelining to work.
* [[network.http.keep-alive]] must be set to true for pipelining to work.
* While this preference will improve performance, it may cause problems loading pages from some servers.
* [[network.http.version]] must be set to 1.1 for pipelining to work.
true
* Although this preference may improve performance, it may cause problems loading pages from some servers.


==Recommended settings==
==Recommended settings==
Line 38: Line 41:
* [https://bugzilla.mozilla.org/show_bug.cgi?id=165350 Bug 165350 - RFE: Allow users to specify servers to allow/disallow pipelining]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=165350 Bug 165350 - RFE: Allow users to specify servers to allow/disallow pipelining]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=264354 Bug 264354 - Enable HTTP pipelining by default]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=264354 Bug 264354 - Enable HTTP pipelining by default]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=395838 Bug 395838 - Remove HTTP pipelining pref from release builds]
* [https://bugzilla.mozilla.org/show_bug.cgi?id=603503 Bug 603503 - Pipeline Project Tracking Bug]


==Related preferences==
==Related preferences==
Line 50: Line 55:


[[Category:Preferences]]
[[Category:Preferences]]
[[Category:Tweaking preferences]]

Latest revision as of 00:39, 18 February 2012

Background

HTTP is the application-layer protocol that most web pages are transferred with. In HTTP 1.1, multiple requests can be sent before any responses are received. This is known as pipelining. Pipelining reduces network load and can reduce page loading times over high-latency connections, but not all servers support it. Some servers may even behave incorrectly if they receive pipelined requests. If a proxy server is not configured, this preference controls whether to attempt to use pipelining.

Possible values and their effects

true

Attempt to use pipelining in HTTP 1.1 connections.

false

Never use pipelining. (Default)

Caveats

  • This preference has an effect only if you are not using a proxy. If you are using a proxy, see network.http.proxy.pipelining.
  • network.http.keep-alive must be set to true for pipelining to work.
  • network.http.version must be set to 1.1 for pipelining to work.
  • Although this preference may improve performance, it may cause problems loading pages from some servers.

Recommended settings

Users who want better page loading speed can try setting this preference to true, keeping in mind this may break some websites.

First checked in

2001-05-11 by Darin Fisher

Has an effect in

  • Netscape (all versions since 6.1)
  • Mozilla Suite (all versions since 0.9)
  • Mozilla Phoenix (all versions)
  • Mozilla Firebird (all versions)
  • Mozilla Firefox (all versions)
  • SeaMonkey (all versions)
  • Camino (all versions)
  • Minimo (all versions)

Related bugs

Related preferences

See also

External links