Http/2

1 min read
Key features of HTTP/2
Binary Protocol
Multiplexing
Streams
Header compression
No head of line blocking
Prioritization
Server push
Connection reuse
Better performance
Working of HTTP/2
It uses multiplexing for data transmission
- Multiplexing means mixing multiple things together to send them at the same time over one path, and then sorting them out at the end.
HTTP/2 sends requests and responses via byte-streams which is streams in binary format
It does not wait for the response to come like HTTP/1
It sends all the requests simultaneously vis streams and server starts responding as soon as it processes one of the request.
Uses HPACK to compress headers, reducing size and improving speed.
Visual representation of HTTP/2
1
Subscribe to my newsletter
Read articles from Nand Makadia directly inside your inbox. Subscribe to the newsletter, and don't miss out.
Written by
