tags: #publish
links: [[Networking]], [[HTTP and related protocols]]
created: 2021-09-23 Thu
---
# HTTP/2
https://en.wikipedia.org/wiki/HTTP/2
Semantics are preserved.
Transport layer changes.
Main differences from HTTP1.1:
- Server push - server can send more data than client requested, to save request-response cycles
- Performance:
- Multiplexing protocol in TCP, based on previous SPDY spec
- Header compression
- Prioritisation of requests
- Removed "chunked" encoding in favour of new streaming mechanisms
- Still runs on top of TCP though. Compare [[HTTP3]] which aims to change this.
Future: see also [[QUIC]], [[HTTP3]]