HTTP latency: splitting a request between server wait and download.
See how a request's time splits between server wait and download.
Open HTTP latencyWhat this tool tells you
Every page load spends its time in a handful of places, and most of it is usually spent waiting for the server to answer. This check makes a real request to the URL you give it and reports the total, the time to first byte and the download time as separate numbers. The measurement is performed live from the site.
Try it in SiteTrace
- Paste the full URL including the scheme, then run the measurement so the request is made from the site's own network.
- Read the status code next, because an error page can return quickly and still be the wrong thing to measure.
- Compare time to first byte with the download figure, since the split tells you whether the server or the payload is slow.
- Look at the DNS, TCP and TLS rows, which come back empty here because the platform handles those phases internally.
- Run the curl command below on your own machine when you want the connection phases, since the terminal exposes all of them.
This check runs live against the public internet, so the result reflects what a third party would see right now. The screenshot below is still an example.
How to read the information
- Total time
- The end-to-end duration of the request as the server saw it, from starting the fetch to the last byte.
- Time to first byte
- How long the server took before the response began. This is the number that grows with slow backends.
- Content download
- The time spent pulling the body down after the response started, shown alongside the byte count received.
- DNS lookup
- The row comes back empty because the hosting platform resolves the name itself and does not report the timing.
- TCP connect
- Also empty here, for the same reason. A local curl run does fill this row in.
- TLS handshake
- The certificate exchange time, left blank in this measurement and visible when you run the terminal command yourself.
What the example means
A large time to first byte points at the server doing the work, while a large download time points at a heavy page. Run the measurement more than once, because the first request to a cold page is often the slowest. Numbers from the site's network are not the same as numbers from your desk.
On your Mac or Windows PC
Mac instructions
curl prints one line per phase, and each value adds the previous ones up, so the TLS number already includes DNS and TCP. The -o /dev/null flag discards the body so only the timings remain on screen.
curl -s -o /dev/null -w "dns: %{time_namelookup}s\ntcp: %{time_connect}s\ntls: %{time_appconnect}s\nttfb: %{time_starttransfer}s\ntotal: %{time_total}s\n" https://example.comA check from your computer reflects your own connection. It may differ from a remote test or the mockup shown here.
Keep this in mind
This measurement cannot separate DNS, TCP and TLS, so those three rows stay blank and the total is not a full breakdown. It also measures one request from one place, with no second request to compare. A cached or personalised response will not resemble the first load a visitor sees.