📣🚀🐣🌼 Sonic Bloom - Spring Sale! | Exclusive offers for Cloud Shared Hosting - 70% OFF | Starting from $3.99/mo

HostArmada Web Hosting Knowledge Base

Knowledge is power! Use that power and achieve total and unconditional control over the Web Hosting Services!

What is Keep-Alive and how can I enable it for my website?

Your website is built from various files, and each time someone visits it, the web server will open a TCP connection so it can deliver the files to the visitor’s web browser. A typical web server will close an HTTP connection immediately after it has served its purpose and dispatched the piece of content to the browser. If a site has a lot of data on its index page, the process of delivering content will take longer as each piece of content requires the following steps to be delivered to the visitor's browser:  

  • First request - OPEN CONNECTION > DELIVER CONTENT > CLOSE CONNECTION; Second request - OPEN CONNECTION > DELIVER CONTENT > CLOSE CONNECTION; repeat until everything is delivered.

Keep-Alive is a feature of the web server that enables HTTP request forking through a single TCP connection. This means that instead of opening a new stream for each request, the webserver will slip them through a single one, dramatically increasing the delivery time and improving the loading speed of the website. Here is how the delivery process will work with Keep-Alive on:

  • First request - OPEN CONNECTION > DELIVER CONTENT> Second request > DELIVER CONTENT > Third request > DELIVER CONTENT; repeat until everything is delivered.

Luckily for you, Keep-Alive is enabled by default on all HostArmada plans, and your website will immediately take advantage of this excellent feature when it is hosted here.

Was this article useful and on point?

Find out more about HostArmada entire range of optimized Web Hosting Services and take action today on improving your website Loading Speed, Security, and overall Stability!