From: Joshua Slive
The Keep-Alive extension to HTTP/1.0 and the persistent connection
-feature of In order for Keep-Alive support to be used:
-HTTP/1.1
provide long-lived HTTP sessions
-which allow multiple requests to be sent over the same TCP connection.
-In some cases this been shown to result in an almost 50% speedup in
-latency times for HTML documents with many images.
-
+feature of HTTP/1.1 provide long-lived HTTP sessions which allow
+multiple requests to be sent over the same TCP connection. In some
+cases this has been shown to result in an almost 50% speedup in
+latency times for HTML documents with many images. To enable
+Keep-Alive connections in Apache 1.2 and later, set On
.KeepAlive
+On
.
For HTTP/1.0 clients, Keep-Alive connections will only be used if +they are specifically requested by a client. In addition, a +Keep-Alive connection with an HTTP/1.0 client can only be used when +the length of the content is known in advance. This implies that +dynamic content such as CGI output, SSI pages, and server-generated +directory listings will generally not use Keep-Alive connections to +HTTP/1.0 clients. For HTTP/1.1 clients, persistent connections are +the default unless otherwise specified. Chunked encoding will be used +in order to send content of unknown length over persistent +connections.
See also MaxKeepAliveRequests.