What are the improvements of HTTP2.0?
1. The binary framing layer in HTTP 2.0 breaks through the limitations: the client and server can decompose HTTP messages into mutually independent frames and then send them out of order. Finally put them back together at the other end.
2. After decomposing the HTTP message into many independent frames, you can further improve performance by optimizing the interleaving and transmission order of these frames.
3. HTTP 2.0 can use TCP connections more efficiently by allowing all data streams to share the same connection.
4. In addition to the server's response to the initial request, the server can push additional resources to the client without the client explicitly requesting them.
5. HTTP 2.0 will compress the header metadata, and only encode and send the difference data for the previous data.
The above is the detailed content of What improvements does HTTP2.0 have?. For more information, please follow other related articles on the PHP Chinese website!