Software Development Resources
Create account | Log in | Log in with OpenID | Help


From DocForge

KeepAlive is an Apache httpd core setting which enables persistent connections. This feature of HTTP allows multiple requests to be sent over the same connection.

Web pages typically require multiple requests to complete, one for the HTML and additional for images, CSS, and JavaScript. By keeping the connection to the web server open, these requests can be completed faster overall. However, this keeps the httpd instance or thread busy for the duration of the requests until the timeout expires after the last request. Therefore high traffic sites tend to keep the KeepAlive feature off or the timeout very short. Small sites, and those with more page elements to load, provide better performance to individual users by having KeepAlive on.

Syntax: KeepAlive On|Off

Default: KeepAlive On

[edit] See Also