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.
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.
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 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.