Home » Categories » Apache » Configuration

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 Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
 
Attachments Attachments
There are no attachments for this article.
Comments Comments
There are no comments for this article. Be the first to post a comment.
Related Articles RSS Feed
Hide X-Powered-By: PHP
Viewed 590 times since Tue, Sep 15, 2020
PHP Warning: PHP Startup: Unable to load dynamic library ’curl’
Viewed 780 times since Thu, Feb 3, 2022
How to Change the Apache Error Messages
Viewed 485 times since Fri, Feb 25, 2022
PHP and mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
Viewed 1819 times since Mon, Sep 28, 2020