Mental model
Think of the browser as a client sending a precisely addressed order. DNS finds the destination, the network establishes a route, the server prepares a response, and the browser assembles the result.
How it works
Browser→
DNS→
Server→
Response→
Render
Open the editable draw.io source.
- Resolve: DNS translates the hostname into an IP address.
- Connect: the browser establishes a transport connection; HTTPS also negotiates TLS.
- Request: the browser sends an HTTP method, path, headers, and sometimes a body.
- Respond: the server returns a status, headers, and content.
- Render: the browser parses the response and may request CSS, JavaScript, fonts, and images.
Key distinction: HTTP describes the messages; DNS, TCP or QUIC, and TLS provide supporting layers.
Trade offs and common mistakes
- Caching reduces latency and server work, but stale content needs an invalidation strategy.
- A page usually makes many HTTP requests—not just the first document request.
- DNS resolution and connection setup may be skipped when cached entries and reusable connections exist.