HTTP/2 Frames

2019-01-07  本文已影响0人  庞贝船长

HTTP/1.x messages 缺点

HTTP/1.x messages have a few drawbacks for performance:

HTTP/2 Frames

HTTP/2 introduces an extra step: it divides HTTP/1.x messages into frames which are embedded in a stream. Data and header frames are separated, this allows header compression. Several streams can be combined together, a process called multiplexing, allowing more efficient underlying TCP connections.

Binary_framing2.png

参考

MDN: HTTP Messages

上一篇 下一篇

猜你喜欢

热点阅读