HTTP Header - What is Connection: close and keep-alive

  • Thread starter Gateman
  • Start date
  • Tagged users None
Gateman

Gateman

Golden Member
Joined
June 25, 2024
Messages
219
Reaction score
1,839
Points
93
  • Thread Author
  • #1
What is connection: close, one of the HTTP connection headers? What effect do these values have on SEO? What is another answer, connection: keep-alive? We will talk about the details in this article.

Connection: keep-alive

If the value sent is keep-alive, it means that the connection is persistent and the network connection will be open for subsequent requests to the same server. It helps to send and receive multiple http requests using a single TCP connection, as opposed to establishing a new connection for each request. This value is the default for HTTP/1.1 requests.

Connection: close

The response indicating that the client (server) wants to close the connection. This value is the default for HTTP/1.0 requests.

Web browsers compatible with HTTP Connection header are given below:

Google Chrome
Internet Explorer
Microsoft Edge
Mozilla Firefox
Safari
Opera

You can make the relevant queries for your website through the online tools given below.

HTTP Status Code query: https://www.uptrends.com/tools/http-response-header-check

HTTP Response Headers check: https://geekflare.com/tools/http-headers-test

End of summer, goodbye.
 
  • Tags
    and close connection connection management header http http header web performance what