Quick answer
HTTP/2 is the second major version of HTTP (RFC 9113). It keeps HTTP's methods, status codes and headers but sends them as binary frames, multiplexes many requests over one connection and compresses headers with HPACK, which removes HTTP/1.1's per-connection request queue.
What is HTTP/2?
HTTP/2 is the second major version of the Hypertext Transfer Protocol. It keeps the meaning of HTTP unchanged (the same methods, status codes, headers and URLs) and changes how messages travel over the connection: requests and responses are split into binary frames, and many of them share one TCP connection at the same time.
The current specification is RFC 9113, published in June 2022, which obsoletes the original RFC 7540 from 2015 (RFC 9113). Browsers use HTTP/2 only over TLS, so in practice an https:// site negotiates it during the TLS handshake and an http:// site stays on HTTP/1.1.
The practical result: HTTP/2 removes the per-connection request queue of HTTP/1.1, which makes several old page-speed tricks unnecessary and some of them harmful.
How HTTP/2 works
| Feature | What it does | Spec detail |
|---|---|---|
| Binary framing | Every message is cut into frames with a fixed header | Each frame starts with a 9-octet header; default maximum frame payload is 16,384 octets |
| Streams and multiplexing | Each request/response pair is a stream; frames of many streams interleave on one connection | RFC 9113 recommends allowing at least 100 concurrent streams |
| Header compression (HPACK) | Repeated headers such as cookies and user agent are sent as references to a shared table | Defined in RFC 7541 |
| Flow control | Receivers limit how much data each stream may send | Initial window is 65,535 octets per stream and per connection |
| Prioritization | Clients hint which streams matter most | RFC 9113 deprecates the original RFC 7540 priority scheme |
| Server push | Server sends resources before they are requested | Disabled by default from Chrome 106 |
Server push deserves a note because many guides still list it as a headline feature. Chrome's team removed it after measuring that only 1.25% of HTTP/2 sites used it, a figure that later fell to 0.7% (Chrome for Developers). Use <link rel="preload"> or a 103 Early Hints response instead.
HTTP/1.1 vs HTTP/2 vs HTTP/3
| HTTP/1.1 | HTTP/2 | HTTP/3 | |
|---|---|---|---|
| Connections per origin | Browsers open about 6 in parallel | 1, multiplexed | 1, multiplexed |
| Message format | Text | Binary frames | Binary frames |
| Header compression | None | HPACK | QPACK |
| Transport | TCP | TCP | QUIC over UDP |
| Head-of-line blocking | At the HTTP level (one request per connection at a time) | Removed at HTTP level, still at TCP level when a packet is lost | Removed at both levels per stream |
| Encryption | Optional | Required by browsers | Always (built into QUIC) |
The last row of head-of-line blocking is the main reason HTTP/3 exists: with HTTP/2, one lost TCP packet stalls every stream on the connection until it is retransmitted. The details, and when HTTP/3 helps, are in what is HTTP/3.
Worked example: 60 assets over 6 connections vs one
Sample data, simplified model: a page needs 60 assets from one origin, totalling 1.2 MB. Round-trip time is 50 ms and bandwidth 20 Mbit/s. Setting up a connection (TCP plus TLS 1.3) costs 2 round trips. The model ignores server think time and congestion control.
| Step | HTTP/1.1 (6 connections) | HTTP/2 (1 connection) |
|---|---|---|
| Connection setup (in parallel) | 2 × 50 = 100 ms | 2 × 50 = 100 ms |
| Request rounds | ⌈60 ÷ 6⌉ = 10 rounds × 50 = 500 ms | ⌈60 ÷ 100⌉ = 1 round × 50 = 50 ms |
| Latency subtotal | 600 ms | 150 ms |
| Transfer time (1.2 MB at 20 Mbit/s) | 480 ms | 480 ms |
| Total | about 1,080 ms | about 630 ms |
The saving comes entirely from latency: HTTP/1.1 has to wait for each of 10 request rounds, HTTP/2 sends all 60 requests at once. Bandwidth-bound time does not change. Two consequences follow:
- Pages with many small files gain most from HTTP/2; a page with five large files gains little.
- HTTP/2 does not reduce bytes. If a page is slow because it ships 4 MB of JavaScript, the protocol will not fix it.
Speed tricks HTTP/2 makes obsolete
| HTTP/1.1 trick | Why it existed | Under HTTP/2 |
|---|---|---|
Domain sharding (static1., static2.) | Get more than 6 parallel connections | Harmful: extra DNS and TLS setups, and it splits one multiplexed connection into several. MDN calls it a deprecated technique for HTTP/2 (MDN) |
| Concatenating all JS or CSS into one file | Fewer requests | No longer needed for request count; smaller files cache better, because one change does not invalidate everything |
| Image sprites | Fewer requests | Mostly unnecessary; individual images can load in parallel |
| Inlining small files into HTML | Save a round trip | Loses caching; prefer separate files unless critical for first paint |
What still matters under HTTP/2: fewer bytes, compression, caching, fewer third-party origins (each still needs its own connection), and a fast first byte. Request count still has a cost on the client, so the advice in reduce HTTP requests applies to unnecessary requests, not to splitting files sensibly.
How to check whether a site uses HTTP/2
- Browser DevTools. Open the Network panel, right-click a column header, enable Protocol, and reload.
h2means HTTP/2,h3HTTP/3,http/1.1the old protocol. - Command line.
curl -sI --http2 -o /dev/null -w '%{http_version}\n' https://example.comprints2when the server negotiates HTTP/2. - In page code.
performance.getEntriesByType('navigation')[0].nextHopProtocolreturnsh2,h3orhttp/1.1for the page itself; resource entries give the same for each asset.
If the page is HTTP/2 but third-party assets are on http/1.1, those origins are where the old limits still apply.
How many sites use HTTP/2
The HTTP Archive's 2024 Web Almanac, based on its June 2024 crawl, found that 71% of desktop and 70% of mobile home pages loaded over HTTP/2, 7% and 9% over HTTP/3 and the rest over HTTP/1.1. Across all requests, 85% used HTTP/2 or later (Web Almanac 2024, HTTP chapter). For most sites the question is no longer whether to enable HTTP/2 but whether the remaining HTTP/1.1 origins and old workarounds are still slowing the page.
Measuring the effect in TapCub
TapCub does not record which protocol each page load used, so check the protocol with the methods above. What TapCub measures is whether real visitors' pages got faster after the switch:

- Mark the change. Add an annotation for the deployment date under Configuration › Annotations.
- Read real-user timings. Monitoring › Performance shows largest contentful paint, cumulative layout shift, interaction to next paint, first contentful paint and time to first byte from real loads, with P75 or median, and splits a load into backend (time to first byte), network transfer and frontend render.
- Compare two ranges. The page has no previous-period comparison, so select two equal date ranges before and after the change and compare P75 and the share rated good, broken down by page and browser.
- Look at the slow pages. The Slowest pages list (sorted by P75 largest contentful paint) shows whether the asset-heavy pages that should gain most actually did.
Sources
- IETF, RFC 9113: HTTP/2, June 2022.
- Chrome for Developers, Removing HTTP/2 Server Push from Chrome.
- HTTP Archive, Web Almanac 2024: HTTP, June 2024 crawl.
- MDN Web Docs, Connection management in HTTP/1.x.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Customer Experience Consultant
Writes about live chat, visitor conversations, and self-service, sharing practical ways to make customer communication clearer and more effective.