PageSpeed: Enable Keep-Alive
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.
How does your site score on this recommendation?
Enabling Keep-Alive connections in Apache
Apache enables Keep-Alive connections by default, however you can explicitly turn them on by adding the following line to your
Having said that, if your site is running on a shared host, you probably won't have access to
httpd.conf and will therefore have to live with whichever setting your hosting provider has chosen. Contrary to what some websites suggest, adding a
Header set Connection keep-alive directive to your
.htaccess file will not actually enable Keep-Alive connections, but it will send browsers misleading information about the server's capabilities.