Web Vitals & Performance (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)
HTTP/3 & QUIC: Eliminating Head-of-Line Blocking for Web Vitals.
senior LevelSystem DesignHTTP & REST APIs
In Simple Words:
- In HTTP/2 (over TCP): If a single network packet is lost, TCP stalls all multiplexed streams until the missing packet is retransmitted (TCP Head-of-Line Blocking).
- In HTTP/3 (over UDP / QUIC): Each request stream is independent. A lost packet on an image download does not block the CSS or HTML stream, preserving fast TTFB and LCP on lossy mobile cellular connections.