HTTP/2 vs HTTP/1.1

The short version

HTTP/1.1 and HTTP/2 both move web requests and responses between clients, proxies, and servers. The main difference for site operators is connection behavior. HTTP/1.1 handles one response at a time on a connection, so browsers often open several parallel connections to the same host. HTTP/2 can send many streams over one connection, which reduces connection overhead and avoids some of the blocking that made older sites split assets across multiple domains.

That does not mean HTTP/2 automatically makes every site faster. It changes the transport shape. The result depends on TLS setup, packet loss, asset count, server support, proxy behavior, prioritization, cache policy, and how much work the origin has to do. A site with a slow database query will still have a slow response over HTTP/2.

How HTTP/1.1 behaves in production

HTTP/1.1 is simple and widely understood. A browser requests a resource, the server returns it, and the connection can be reused for another request. Persistent connections helped reduce setup cost, but each connection still has head-of-line blocking at the HTTP layer: a response that takes time can hold up later responses queued behind it.

Browsers worked around this by opening multiple connections per hostname. Frontend teams worked around it by bundling files, using image sprites, and spreading assets across hostnames. Those patterns made sense when connection limits were the bottleneck. They can be counterproductive on newer protocols because too much bundling delays useful code, and domain sharding adds DNS, TCP, and TLS overhead.

HTTP/1.1 remains useful. Some origins, embedded clients, old corporate proxies, and specialized integrations still depend on it. Operators should keep support unless there is a clear reason to remove it, and they should know which part of the path is speaking which protocol.

What HTTP/2 changes

HTTP/2 introduces binary framing and multiplexing. Multiple request and response streams can share a single connection at the same time. It also compresses headers using HPACK, which can reduce repeated header overhead on sites with many requests. In practice, this is helpful for pages with numerous CSS, JavaScript, image, and font requests, especially when connection setup is expensive.

Most browsers use HTTP/2 over TLS. During connection negotiation, the client and server agree on the protocol using ALPN. If negotiation fails or one side does not support HTTP/2, the connection can fall back to HTTP/1.1. That fallback is normal, but it should be visible in testing so teams do not assume a rollout is complete when only part of traffic is using the new protocol.

HTTP/2 also changes tuning habits. Domain sharding is usually unnecessary and can hurt performance. Large bundles may be less important than shipping smaller, cacheable assets. Server push, once promoted heavily, has been removed or disabled in many clients and should not be treated as a core HTTP/2 strategy.

Where performance can improve

HTTP/2 often helps when a page loads many resources from the same host and the user has a reasonable network path. Fewer connections can mean less TLS overhead. Multiplexing can let critical and non-critical assets progress together. Header compression can reduce repeated request metadata, which matters more for chatty pages and APIs than for a single large download.

The improvement may be small for already-optimized pages with few resources, good caching, and a fast origin. It may be poor on lossy networks because packet loss on one TCP connection can affect all streams sharing it. It will not fix render-blocking JavaScript, oversized images, slow third party tags, or cache misses that force expensive origin work.

Measure route by route. Compare protocol, TTFB, connection time, request count, transferred bytes, LCP, INP, and error rate. A protocol upgrade is successful only if users and operations metrics improve or stay stable.

Security and observability implications

HTTP/2 is encrypted in normal browser use, so TLS configuration matters. Keep certificate chains correct, support modern cipher suites, and monitor ALPN negotiation. Middleboxes and older inspection tools may not expose HTTP/2 traffic in the same way they expose HTTP/1.1. If security monitoring depends on request logs, headers, or connection attributes, verify that the same fields are present after the change.

HTTP/2 has had its own denial-of-service failure modes, including attacks that abuse streams, resets, continuation frames, or header compression behavior. Operators should patch servers and proxies promptly, set sensible limits on concurrent streams and header sizes, and make sure rate limiting works at the right layer. A connection carrying many streams should not be treated as one harmless request.

Bot and API controls also need protocol-aware logging. If all traffic appears to arrive through a small number of long-lived connections, dashboards that were designed around connection counts may understate request pressure. Track requests, streams, route cost, response codes, and upstream saturation.

Rollout checklist

Start by identifying every hop: browser to edge, edge to load balancer, load balancer to origin, and any service mesh or reverse proxy in between. It is common to enable HTTP/2 on the client-facing side while the origin side remains HTTP/1.1. That can still be a good design, but it should be intentional.

Enable HTTP/2 in staging first. Test with real browsers and command-line clients that show negotiated protocol. Check static pages, logged-in flows, uploads, downloads, APIs, and long-running requests. Watch for 421, 431, 502, and timeout errors. Confirm that access logs include protocol and that security rules still see the headers they need.

In production, roll out gradually if the platform allows it. Compare p75 and p95 user metrics, origin connections, request rates, cache hit ratio, TLS errors, proxy errors, and CPU or memory usage on the servers terminating HTTP/2. Keep fallback to HTTP/1.1 available during the transition. The practical aim is not to win a protocol argument. It is to reduce avoidable connection cost while keeping the request path observable and stable.

© PEAKHOUR.IO PTY LTD 2026   ABN 76 619 930 826    All rights reserved.