Lesson 2 of 9 · 25m
Reading Waterfalls Without Superstition
Use request waterfalls to distinguish DNS, connection, server, blocking, bandwidth, and rendering problems instead of guessing at page speed.
A waterfall is a confession. Every redirect, connection, blocking script, slow query, oversized image, and late-discovered resource leaves a line in it. The trick is not knowing how to open DevTools. The trick is learning which horizontal gap means server work, which vertical stack means poor prioritization, and which innocent-looking request delayed everything after it.
Read time as phases
For each request, separate the time instead of accepting one bar as 'slow':
connect/setup DNS, TCP/TLS or QUIC, browser scheduling
waiting / TTFB server, edge, cache, backend, database
content download response bytes constrained by bandwidth or sizeA long green bar is not the same problem as a long purple or blue bar in every tool, so learn your tool's legend. In practical terms: connection time points toward network and host reuse; waiting time points toward server or cache behavior; download time points toward bytes and bandwidth.
The most expensive resource is often discovered late
Browsers cannot fetch what they have not discovered. A hero image hidden behind CSS, a font referenced by another font's CSS, or a script injected after hydration starts a second wave of work:
<link rel="stylesheet" href="/css/site.css">
<!-- inside site.css -->
<!-- @import url('/css/fonts.css'); -->
<!-- inside fonts.css -->
<!-- @font-face { src: url('/fonts/inter-var.woff2') } -->That chain costs serial round trips. Flatten it where practical, preload truly critical resources, and do not confuse 'the resource downloaded quickly' with 'the resource started early enough.'
HTTP/2 and HTTP/3 change the old rules
The ancient advice to shard assets across four hostnames mostly died with HTTP/2 multiplexing. Extra origins now cost DNS, TCP/TLS or QUIC setup, and prioritization complexity:
static-a/static-b/cdn.example-corp.net extra setup, queues, and priority contextsFewer meaningful origins usually beat many decorative origins. Third parties are different: you cannot merge them away, but you can defer them, proxy them where appropriate, or remove the ones nobody owns.
A waterfall tells a causal story
Look for chains, not isolated bars. A typical slow page looks like this:
0ms navigation starts
180ms HTML response starts after redirect + TLS
610ms HTML finishes; CSS discovered
900ms CSS finishes; font and hero image discovered
1400ms font finishes; text swaps
2100ms hero image finishes; LCPThe image itself may only download for 300ms, but it started at 900ms because discovery was late. Resizing it helps less than discovering it at HTML parse time or preloading it.
Do not ignore redirects and cache miss behavior
Every redirect burns at least one round trip and often triggers new connection setup. Mobile users pay this cost brutally. Watch for chains like:
http://example.com -> https://example.com -> https://www.example.com -> /en/Canonicalize one target, redirect directly, and make sure link headers, canonical tags, analytics, and email campaigns point at the final URL.
Field notes
- Disable cache only when you intentionally want a cold view; otherwise you are debugging a state most returning users never hit.
- Request count still matters even under HTTP/2 because each request carries CPU, priority, and cache-management cost.
- Compare waterfalls before accepting a fix. 'TTFB improved' can hide worse total paint if compression or streaming behavior changed.
- Save the exact test settings: location, network profile, browser, and cache state. Without them, waterfall evidence is not repeatable.
Was this lesson helpful?