Skip to content
What happens when

You type a web address and press Enter

Follow a single request from your keyboard to a server on another continent and back again, in the time it takes to blink.

~400 ms end to end6 stepsRelated exhibit: How Wi-Fi Carries Data

Following the request, step by step

Scroll through. Each step is something that genuinely happens, with the time it typically takes.

  1. Step 01<1 ms

    The URL is parsed

    Your browser splits the address into scheme, host and path.

    Typing an address triggers nothing on the network yet. The browser first checks whether the host is a search term or a real address, then breaks it into the parts it needs: how to connect, which machine to reach, and which resource to ask for.

  2. Step 021–50 ms

    DNS lookup begins

    The hostname is translated into an IP address.

    Computers route by number, not by name. A resolver is asked for the IP address behind the hostname. If the answer is cached from a recent request, this is nearly instant; otherwise the resolver walks a hierarchy of name servers to find it.

  3. Step 0310–100 ms

    A connection is opened

    A TCP handshake and a TLS handshake establish a trusted channel.

    The browser and server exchange messages to agree that both are ready to talk, then negotiate encryption. Certificates are checked so your browser knows it is talking to the real server and not an impostor. This round trip is often the largest single cost of loading a page.

  4. Step 0410–200 ms

    The request travels

    Your packets cross your router, your ISP and the wider internet.

    Each packet carries a destination and hops from network to network. Routers only need to know the next sensible step, not the whole path. Physical distance matters: light in fibre takes real time to cross an ocean.

  5. Step 055–500 ms

    The server responds

    The server processes the request and sends a response.

    A load balancer picks a healthy server. That server may query a database, call other services, or assemble a page from cached fragments. The work itself might take microseconds; queueing and coordination usually dominate.

  6. Step 0650–500 ms

    The browser renders

    HTML is parsed, styles applied, layout calculated and pixels drawn.

    The browser builds a document tree, works out how much space everything needs, and paints it. JavaScript can change all of this after the first paint, which is why pages often shift as they load.

Drive it yourself

The same sequence as a diagram you can play and step through.

packetsymbolsmodulatepropagateframeYour Devicedata to sendBasebandbits → symbolsRadio Front Endcarrier waveThe Airshared mediumAccess PointreceivesRouterroutes onwardRetry & Backoffwhen it collides
Step 1/41,500-byte payload
1

1 · Build Frame

An application's data is wrapped in headers that name the source, destination and channel, then handed to the wireless stack.

Part inspector

Select any part of the diagram to read what it does. Play the sequence, or step through it yourself.