The HTTP Keep-Alive, or also commonly referred to as an HTTP persistent connection, is an HTTP header that allows a connection between the server and client (browser) to remain open to transfer multiple files.
Enable Keep-Alive
What is HTTP Keep Alive?
Benefits of the HTTP Keep Alive Header
Without the HTTP Keep Alive header, there would have to be a connection opened for each file that needs to be accessed and transferred. If the Keep Alive function is turned off, a user would have to initiate a separate request each time a filed is needed. By turning this on, it allows the server to serve the necessary resources over a single connection, which helps to reduce CPU/memory usage on the server. Additionally, developers can set the number of requests allowed (MaxKeepAliveRequests) and timeout (KeepAliveTimeout) for this header that best meet your website’s requirements.
![dotcomtools-lighthouse-logo lighthouse](https://www.dotcom-tools.com/web-performance/wp-content/uploads/2021/10/dotcomtools-lighthouse-logo-150x150.png)
Lighthouse
Lighthouse is an open-source tool that is used to run an audit against your web pages and provides scores and suggestions for improving page performance, accessibility, SEO, and more.
![pagespeed-icon pagespeed](https://www.dotcom-tools.com/web-performance/wp-content/uploads/2021/11/pagespeed-icon-150x150.png)
PageSpeed Terms
PageSpeed Insights is a tool created by Google that reports on the performance of a page on both mobile and desktop devices, and provides suggestions on how that page may be improved.
![dotcomtools-yslow-logo yslow](https://www.dotcom-tools.com/web-performance/wp-content/uploads/2021/11/dotcomtools-yslow-logo-150x150.png)
YSlow
YSlow is an open-source website analysis tool that can be used to identify web page performance issues. Learn more about the YSlow to enhance your web pages and the user experience.