Enable Keep Alive

Apache

There are two options for enabling Keep Alive on Apache.

A

Via your Apache configuration file on your server; simply add:

KeepAlive On

You can ask your webhost if they can do this for you. Your server will have to be re-started after adding this.

2

Via your .htaccess file; add the following:

<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>

NGINX

If you use NGINX, Keep Alive should be on unless you find the following in your config file:

keepalive_disable

You can use these to tweak your settings:

keepalive_requests
keepalive_timeout

Learn more: NGINX—Module ngx_http_core_module