KeepAlive Directive

Top - Docs - General - Server - Resource - Access - FAQ - Tutorials

Purpose

In normal HTTP transactions, the browser opens up a separate connection to the server for everything the browser wants. So, if you have a page with 5 inline images, the browser will use separate connections to get the page and each inline image. With a browser which supports KeepAlive, the browsers requests the documents one at a time through the same connection. This eliminates the start up time and cost of each connection.


Syntax

KeepAlive is either On or Off


Virtual Host

This directive is not valid in VirtualHost configuration.


Default

The default is Off.

Compile Option: DEFAULT_ALLOW_KEEPALIVE


Examples

KeepAlive On

Turns on KeepAlive support.


[Back] Return to Configuration File Overview
NCSA HTTPd Development Team / httpd@ncsa.uiuc.edu / 10-02-95