How do I activate KeepAlive


#1

i want to activate KeepAlive

dvbbgsss

how i do that on cloudflare


#2

You probably dont see the Connection header because you have HTTP/2 enabled (which is good!).

With HTTP/2 you get this behaviour out of the box, so Keep-Alive is no longer needed. As a matter of fact, a response with Connection: keep-alive over HTTP/2 is considered to be malformed according to the spec.


#3

thank you


#4

Connection: keep-alive is also redundant in HTTP/1.1. It would be used to enable keep-alive in HTTP/1.0, but in HTTP/1.1 you’d only need Connection: close to disable the implicit keep-alive support That doesn’t mean you wont see Connection: keep-alive on H/1.1 in the wild, but it’s not needed.