|
|
|
|
|
by throwbsidbdk
3486 days ago
|
|
Http was not designed for what we're using it for. The biggest problem is numerous requests, which is caused by http using TCP underneath, not by multiple requests in themselves being bad. Bundling is not a best practice because anything about it is inherently better. It's only better because http is bad at delivering multiple responses efficiently. I think HTTP/2 is a quite reasonable compromise compared to the ideal, which would be scrapping http and starting over. The biggest change is to multiplex requests over a single TCP socket, something that's been done by many other protocols over the years. The added complexity is needed because the alternative, running modified http over UDP, would break so much of our infrastructure that it's implausible. |
|