httpd.conf settings | Threads


Keepalive


+

Search Tips   |   Advanced Search

 

HTTP is a connectionless protocol, and by default each request opens and closes a socket. IBM recommends using the keepalive directive to keep sockets open for a certain time and reuse them for multiple requests. This is useful because each Web page typically requires multiple requests for embedded objects.

Web pages served by rich Internet applications (RIAs, such as the WebSphere Commerce Web 2.0 starter store, which uses the Dojo Javascript library for AJAX processing) typically make extensive use of Javascript to dynamically and transparently reload content in the background after loading an initial version of a page. If the initially opened socket is kept open for these kinds of pages, it will be reused multiple times.

The directives to use are: