Network.http.keep-alive.timeout: Difference between revisions
From MozillaZine Knowledge Base
Jump to navigationJump to search
No edit summary |
(Unfortunately, correction needed.) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{preference|pref=network.http.keep-alive.timeout}} | ||
==Background== | ==Background== | ||
[ | [http://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol HTTP] is the application-layer protocol that most web pages are transferred with. HTTP keep-alive connections can be re-used for multiple requests, as opposed to non-keep-alive connections, which are limited to one request. Using keep-alive connections improves performance. This preference determines how long keep-alive connections are kept alive. | ||
==Possible values and their effects== | ==Possible values and their effects== | ||
Amount of time in seconds to keep keep-alive connections alive. Default: | Amount of time in seconds to keep keep-alive connections alive. Default: 115 seconds. | ||
==Caveats== | ==Caveats== | ||
* This preference | * This preference only has an effect if [[network.http.keep-alive]] is true. | ||
* Setting this to more than 115 probably won't help and will make things worse. (See the discussion page.) | |||
==First checked in== | ==First checked in== | ||
Line 27: | Line 28: | ||
==Related preferences== | ==Related preferences== | ||
* [[network.http.keep-alive]] | * [[network.http.keep-alive]] | ||
* [[network.http.max-persistent-connections-per-proxy]] | |||
* [[network.http.max-persistent-connections-per-server]] | |||
==External links== | ==External links== |
Latest revision as of 19:13, 28 September 2011
Background
HTTP is the application-layer protocol that most web pages are transferred with. HTTP keep-alive connections can be re-used for multiple requests, as opposed to non-keep-alive connections, which are limited to one request. Using keep-alive connections improves performance. This preference determines how long keep-alive connections are kept alive.
Possible values and their effects
Amount of time in seconds to keep keep-alive connections alive. Default: 115 seconds.
Caveats
- This preference only has an effect if network.http.keep-alive is true.
- Setting this to more than 115 probably won't help and will make things worse. (See the discussion page.)
First checked in
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
- network.http.keep-alive
- network.http.max-persistent-connections-per-proxy
- network.http.max-persistent-connections-per-server