← All guides

How to tell whether a slow website is DNS, the network, TLS or the server

Split one slow request into its stages, compare your phone with a check from the cloud, and keep timing it on a schedule so that "it feels slow" becomes a number you can act on.

Published: 3 min read

"The site is slow" is one of the most common reports and one of the least useful. Before the first byte of a page arrives, the name is resolved, a TCP connection is opened, a TLS handshake is negotiated, the server does its work and the response is downloaded. Each stage has different owners and different fixes, and a single total time hides which one is to blame.

This guide splits a slow request into those stages, shows how to tell a problem on your side from one on the server's, and how to keep measuring so you know whether a fix actually worked.

What each stage usually means

  • DNS. Fast when the answer is cached, slower when it is not. Consistently slow DNS points at the resolver, or at a TTL so short that caching rarely helps.
  • Connect. Roughly one round trip to the server. High values mean distance or a congested path, not a slow application.
  • TLS. A further round trip or two plus the server's handshake work. A slow handshake on a fast connection points at whatever terminates TLS, such as an overloaded proxy or load balancer.
  • First byte. The time between sending the request and the first byte of the answer. This is mostly the application: database queries, a cold cache, a slow upstream API. It is often where real slowness lives.
  • Download. The body itself. A long download after a fast first byte means a heavy response or a slow link, not a slow server.

Measure one request from your phone

  1. Run Diagnose. In Tools, enter the address and tap Diagnose. It runs DNS, connection, TLS and HTTP from your device and times each step. If one fails, the steps after it say Not tried instead of guessing. The network tools need no account.
  2. Open the slow step. DNS lists the addresses the system resolver returned, connection shows the address and port actually used, TLS shows the version and the days left on the certificate, and HTTP shows the status, redirects, final address and response headers. Every redirect is another full request, so a chain from http to https to www adds up.
  3. Compare with the cloud. Tap Try from the cloud too to run the same check once from DevKit's servers. Fast from the cloud and slow on your phone points at your side: the Wi-Fi, the carrier or the path between them. Slow in both points at the server. Cloud checks need a signed-in account and are limited to a few per minute.
  4. Follow the network when connect is slow. Ping shows latency and loss, Traceroute shows the path. Results can differ between Wi-Fi and cellular and between carriers, so try both before blaming the server.

Keep timing it

One measurement is an anecdote. An HTTP monitor checks the endpoint from DevKit's servers on your interval and records DNS, connect, TLS, first byte and download separately for every check, so you can see whether a slowdown started with a deploy, appears at a certain hour, or sits in one stage.

  • Set Slow above. In the monitor's options, Slow above (ms) marks a check that passed but took longer than your threshold. The monitor shows Slow instead of Outage, so slowness is visible without being treated as downtime.
  • Watch a page people actually wait on. A health endpoint that returns a fixed answer stays fast while search or checkout crawls. Point a monitor at a representative URL and add a keyword or JSON check, so a quick error page does not count as healthy.
  • Judge a fix by the trend. Compare first-byte times before and after a change instead of trusting a single fast reload, which may simply have hit a warm cache.
  • Free runs cloud monitors at a relaxed interval; more monitors and more frequent checks come with Pro and Team, and the app shows what your plan includes.

Limits of these numbers

  • Diagnose and the monitors time one request to one address, not the images, scripts and fonts a browser loads afterwards. A page can have a fast first byte and still feel slow because of what happens in the browser; the browser's developer tools are the place to look at that.
  • Cloud checks run from DevKit's servers, not from where your users are, and private or local addresses are refused.
  • A timing from a phone includes the phone's own radio and network. Run the check more than once, and on another connection, before drawing a conclusion.