Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...


Key Concepts


OSI Communication Layers Model

...

This in-depth guide explains HTTP/2 for end-users and developers. From basic information to more advanced topics. Everything you need to know about HTTP/2.

Technical Introduction to HTTP2

...

https://web.dev/performance-http2/

It is important to note that HTTP/2 is extending, not replacing, the previous HTTP standards. The application semantics of HTTP are the same, and no changes were made to the offered functionality or core concepts such as HTTP methods, status codes, URIs, and header fields. These changes were explicitly out of scope for the HTTP/2 effort. That said, while the high-level API remains the same, it is important to understand how the low-level changes address the performance limitations of the previous protocols. Let’s take a brief tour of the binary framing layer and its features.

Image Modified

HTTP2 terms

  • Stream: A bidirectional flow of bytes within an established connection, which may carry one or more messages.
  • Message: A complete sequence of frames that map to a logical request or response message.
  • Frame: The smallest unit of communication in HTTP/2, each containing a frame header, which at a minimum identifies the stream to which the frame belongs.

HTTP2 multiplexing  - one connection per origin with optional stream prioritization

HTTP/2 provides a set of simple building blocks that allow the client and server to implement their own stream- and connection-level flow control:

https://web.dev/performance-http2/

Server initiates new streams (promises) for push resourcesImage Modified



SSE server-sent events doc

...