How to read a HAR waterfall: DNS, TCP, TLS, TTFB and download
One-line answer: a waterfall shows which phase of each request spent the time. A long wait (TTFB) points at the server; a long receive points at bandwidth or response size.
Seven phases and the HAR fields behind them
Every HAR 1.2 entry has a timings object, and the waterfall stacks those values as they are. A phase the recorder did not measure arrives as -1; it is left out rather than flattened to zero.
| Phase | HAR field | What it measures |
|---|---|---|
| blocked | timings.blocked | Time the browser queued the request before opening a connection: per-host connection limits, cache checks and priority changes land here. |
| DNS | timings.dns | Turning the host name into an IP address. Reused connections report 0 or -1. |
| connect (TCP) | timings.connect - timings.ssl | The TCP handshake. Skipped when a keep-alive connection is reused. |
| TLS | timings.ssl | The TLS handshake. It is reported inside connect, so the viewer subtracts ssl from connect to show both. |
| send | timings.send | Uploading request headers and body. Grows with large uploads. |
| wait (TTFB) | timings.wait | From the end of the request to the first byte of the response: the server and its proxies at work. |
| receive | timings.receive | Downloading the response body. Scales with response size and link speed. |
The shape of a normal page load
The HTML document arrives first; the CSS, JS and images it references follow. The first document pays the DNS and connection cost, while later requests to the same host reuse the connection and show almost no dns or connect time.
API calls usually start after the page load, and data-heavy responses spend more time in receive than in wait. The order on screen is not the order in the waterfall, so read start offset together with duration.
Slow server or slow link?
A wait of 2 seconds with a 50 ms receive means the server started late: database queries, upstream APIs or lock waits are good suspects. A 30 ms wait with a 2 second receive means the server answered quickly but the body was large or the link was slow.
When both are long, the request may be making several round trips. If the same screen issues an N+1 series of calls, cutting the number of requests often improves the experience before any server change.
Connection reuse and blocked time
HTTP/1.1 allows around six connections per host, so extra requests queue and blocked time grows. HTTP/2 multiplexes streams over one connection, which reduces blocked and connect time, but wait depends on how the server handles priorities.
If one host shows unusually long blocked time, count its requests or look for a third-party script that opens many of them.
Use p95 and the maximum, not just the average
One request out of twenty taking 3 seconds can still leave the average at 200 ms. The summary cards show p95 (95% of requests finished within this time) next to the maximum.
A wide gap between p95 and the maximum means a few slow requests are hurting the experience. The ten slowest filter takes you straight to them.
What a waterfall cannot tell you
It only shows time observed on the network. Browser rendering, JavaScript execution and the time spent inside individual server functions are not in it. Once the server is implicated, pair the HAR with server logs and tracing.
Phases the recording tool skipped stay at -1. A missing value never means the phase took zero milliseconds.
Questions
Why is DNS shown as -1?
The connection was reused, or the browser did not record DNS separately. -1 means 'not applicable', not 0 ms. harview drops -1 phases from the bar instead of drawing them as zero.
Some requests show almost no wait.
The response may have come from cache (304), a service worker may have produced it, or the recording tool did not record wait. Check the status code and the cache fields.
The phases do not add up exactly to time.
time is the total duration and timings holds the breakdown. Tools round differently or omit fields, so the sum can differ slightly. harview keeps any remainder as 'other' rather than hiding it.
Sources
- W3C — HTTP Archive 1.2 specification
- Chrome DevTools — Network features reference
- MDN — PerformanceResourceTiming
Every example here can be opened in the workbench as it is.
Open the workbench