Skip to content
Performance & Accessibility

HTTP/2 and HTTP/3, Done Properly

The newer versions of the protocol that carries web traffic, and what they change about how resources should be delivered.

MediaScaleUp Editorial Team 2 min read 13 views
HTTP/2 and HTTP/3, Done Properly

Where most projects go wrong

The usual mistakes:

  • Domain sharding
  • Inlining everything to avoid requests
  • Assuming a CDN means HTTP/3 is in use
  • Optimization advice written for HTTP/1.1 applied unchanged

What good looks like instead

  • Serve over HTTP/2 or HTTP/3 where the infrastructure supports it
  • Stop sharding assets across multiple domains
  • Reconsider bundling strategy, since many small files are less costly than before
  • Use preconnect for genuinely critical third-party origins
  • Verify which protocol is actually being negotiated
What to do and what to avoid with HTTP/2 and HTTP/3, side by side
Good practice against the usual mistakes, from the sources listed below.

Why it matters

Several long-standing optimization practices were workarounds for HTTP/1.1 limitations, and some of them are now actively harmful.

The specs that matter

Published figures for HTTP/2 and HTTP/3
MeasureFigure
HTTP/2multiplexing over a single connection, and header compression
HTTP/3built on QUIC over UDP, avoiding head-of-line blocking at transport level
Obsolete practicesdomain sharding and aggressive file concatenation
Connection costfewer connections needed than under HTTP/1.1
Supportwidely available through CDNs and modern servers

Knowing when to hand it over

Tip: Bring in help when infrastructure changes are needed, when protocol negotiation is not what you expect, or when legacy optimizations are hurting performance.

Where this comes from

The figures and practices above come from the sources listed.

Working on something like this?

We take on Performance & Accessibility work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.

Where to go next

Spotted something wrong? Report an error on this page. We correct on the page and say what changed.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in Performance & Accessibility