3 ms·
you are correct, but with keepalive, 10 connections over http1 will beat 1 connection over http2[1] even 4 connections will do better. [1] when there is high l
by KaiserPro 3y ago
you are correct, but with keepalive, 10 connections over http1 will beat 1 connection over http2[1] even 4 connections will do better.
[1] when there is high latency, or some packet loss, and the requests are batched evenly over all connections.
- srj 3y agoEach of those connections needs its own TCP and TLS handshake making a total of 6 trips. Also, although this didn't take off, h2 had push promise which could have been a big help.
- pi-e-sigma 3y agoYeah HTTP/2 push is so great that Chrome removed it. Straight from the horse mouth: "However, it was problematic as Jake Archibald wrote about previously, and the performance benefits were often difficult to realize" https://developer.chrome.com/blog/removing-push https://developer.chrome.com/blog/removing-push