Stop Wasting Connections, Use HTTP Keep-Alive
21–30 of 112 posts
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#22Earlier quoted context omitted.
Why does the radio have to be on just because there is an open TCP connection?
Are you asking why the radio has to be on or implying there are other reason that the radio could be on for? If you have a TCP connection open but the radio is off how are you going to receive incoming packets?
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#23too bad 99% of routers drop keepalives
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#24Unfortunately most people's primary computing devices are smart phones and smart phone radios cannot keep a TCP connection open, or won't, because of power usage.
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#25Better yet.. switch to http2 (where keep-alive is deprecated): https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ke...
Its amazing that not everyone is on http2 yet when its basically free speed.
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#26Better yet.. switch to http2 (where keep-alive is deprecated): https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ke...
but stateful connection management comes with a cost, especially on tcp.
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#27Better yet.. switch to http2 (where keep-alive is deprecated): https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ke...
Its amazing that not everyone is on http2 yet when its basically free speed.
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#28Better yet.. switch to http2 (where keep-alive is deprecated): https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ke...
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#29I've had apache refuse new requests because old connections were holding slots.
Re: Stop Wasting Connections, Use HTTP Keep-Alive
#30Sure, if Apple have fixed their issues with Keep-Alive for Safari: https://stackoverflow.com/questions/25372318/error-domain-ns...
MDN's documentation on this header references https://tools.ietf.org/id/draft-thomson-hybi-http-timeout-01... for the parameters, but this is an experimental draft that expired in 2012.
Which is to say, I can't really fault Safari for not respecting keep-alive parameters that never made it out of the experimental draft phase.