Get 30% off your WordPress Hosting with code WPSAVE10. Launch Faster. Save More!
  • 00 Days
  • 00 Hours
  • 00 Minutes
  • 00 Seconds

What is HTTP Keep-Alive? - SIRSTEVEHQ CP

HTTP Keep-Alive, also known as HTTP persistent connection, is a mechanism used to maintain an active connection between a client and a server. The idea behind Keep-Alive is to reduce the overhead of establishing a new connection for every HTTP request/response transaction and to allow multiple requests to be sent over a single connection. Doing this can speed up web page loading times.

When a client and a server establish an HTTP Keep-Alive connection, they agree to keep the connection open for a certain amount of time after the last request has been sent. This allows for subsequent requests to be sent over the same connection, without having to go through the process of re-establishing a new connection. This can improve the overall performance of the client-server interaction, as the overhead of opening a new connection is avoided. 

visual_comapring_multiple_connections_vs_http_keep-alive_persistent_connection.png

Http Keep-Alive (HTTP persistent connection) is enabled by default 

Keep-Alive is enabled by default on all SIRSTEVEHQ CP web hosting, so there's no need to add any additional .htaccess rules to enable it.  

By default, Keep-Alive is enabled in the HTTP/1.1 protocol, but it can be disabled by the client or server by including the "Connection: close" header in the HTTP request or response. 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How can I identify a SIRSTEVEHQ CP phishing email?

Recently, we’ve noticed an increase in the number of phishing emails targeting our customers....

How do I set up Automatic Timeline Backups? - SIRSTEVEHQ CP

With our Timeline Backups product, automatic snapshots of your website files and databases are...

How can I clone a site with Timeline Backups? - SIRSTEVEHQ CP

Timeline Backups allow you to restore data between hosting packages, making them an ideal tool to...

Should I transfer my site to the WordPress platform? - SIRSTEVEHQ CP

Yes - absolutely, to get the best performance from a WordPress site it's best to transfer it to...

Is there any downtime during a platform transfer? - SIRSTEVEHQ CP

There is potential for downtime during a platform transfer. For a normal website, you could...