Este sitio web utiliza cookies para realizar análisis y mediciones de tus visitas. [ Acepto ] [ Más información aquí ].

How to Enable Keep-Alive

Enabling a HTTP Keep-Alive connection allows having a constant link with the server, instead of restarting the connection every time a page needs to be downloaded. It's useful to reduce the download time of any website, which is well seen by Google. This is the code needed for enabling Keep-Alive in your .htaccess file:

<ifModule mod_headers.c>

Header set Connection keep-alive


Añadir comentario


2014-11-10 - William Hosker

Thanks for this, didn't know you could enable keepalive through the .htaccess. You can also enable it through the server config file (as explained here: ) but enabling it through the .htaccess file is definitely much easier. Cheers, Will

2014-11-10 - Daniel Piñero

Glad to help.