Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Technology 3 min read

Why the First Click Is Always Slow

DNS lookup adds 50–200 ms.

Before your browser loads a page, it converts the domain name to an IP address via DNS. This takes 50–200 ms — a delay you feel on the first visit.

Connection stack

The browser must complete DNS, TCP, TLS and HTTP before the first byte arrives.

t=tDNS+tTCP+tTLS+tHTTPt = t_{\text{DNS}} + t_{\text{TCP}} + t_{\text{TLS}} + t_{\text{HTTP}}

First visit to a new site

  1. 1

    DNS

    ~80 ms

  2. 2

    TCP

    ~40 ms

  3. 3

    TLS

    ~80 ms

  4. 4

    HTTP

    ~40 ms

Answer

About 240 ms before the first byte

The formula behind it

Addition

a+ba + b
See the full formula, variables and more examples

The takeaway

The first click is always slower because your computer has to find the address first.

Back to all stories