A browser fetching scripts and images can put several requests on one connection in both HTTP/2 and HTTP/3. The interesting difference appears when data goes missing during the journey. The two protocols rely on different transports to put it back in order.

Multiplexing over TCP

HTTP/2 assigns requests to streams over a TCP connection. TCP delivers a single ordered byte sequence. A lost packet can delay delivery of later bytes to HTTP/2 even when those bytes belong to another stream. Connection reuse can still make this path efficient on a stable network.

Independent streams over QUIC

HTTP/3 maps HTTP exchanges onto QUIC streams. A gap in one stream need not hold up data already available on an unrelated stream. The connection still shares network capacity and congestion control. A missing part of the resource a page actually needs will still delay that resource.

Decide from the request mix

A mobile page with many objects and variable network conditions is a useful trial. A tiny document over a stable link may behave differently. Compare matched payloads, cache states, devices and connection reuse. Keep HTTP/2 available for networks where UDP or HTTP/3 is unavailable.

Sources & further reading

Reader questions

Does switching protocol reduce the work in our database?

Both protocols can carry the same expensive application request. Compare origin processing separately from transport and delivery.