HTTP 2

Introduces HTTP streams where multiple streams of request can be send over the same TCP connection.

Pasted image 20230901094555.png

Unlike HTTP 1.1, each stream is independent and does not need to receive from the same order. Which solves the head of line blocking.

Push capability

HTTP 2 introduces the push capability which allows server to push data to the client without the need of the client to poll.

Pasted image 20230901094802.png