PageSpeed: Enable Keep-Alive


Overview

Enabling HTTP Keep-Alive or HTTP persistent connections allow the same TCP connection to send and receive multiple HTTP requests, thus reducing the latency for subsequent requests.

For HTTP/1.1 requests, enabling Keep-Alive reduces latency and improves your page performance.

Browsers may use multiple TCP connections to retrieve your page's files from the server because the original connection was closed upon delivering the initial file. This increases latency and increases the time taken to load your page.

Enabling Keep-Alive allows the same TCP connection to be used for transferring multiple files, resulting in a faster loading page.

 

httpd.conf:
KeepAlive Off
=>
KeepAlive On

 



Article ID: 110
Created On: Tue, Mar 1, 2022 at 3:11 AM
Last Updated On: Tue, Mar 1, 2022 at 3:11 AM
Authored by: Saeed Nobakht [[email protected]]

Online URL: https://www.navel.ir/article/pagespeed-enable-keep-alive-110.html