Before the first pixel
You press Enter. A moment later, a page appears. Where did that moment go?
example.com → IP address → secure connection
→ HTTP response → pixelsA name becomes an address
The browser needs somewhere to send its packets. A DNS resolver looks up the name and returns an IPv4 address, an IPv6 address, or both. A cached answer can save a trip. This is one reason a second visit can feel faster even when the page itself has changed.
The connection gets an identity
For HTTP/2 over the public web, the browser opens a TCP connection and starts a TLS handshake. It checks that the server presents a trusted certificate valid for the requested name. Several sites can share one IP address and still have distinct identities. HTTP/3 takes a different route through this step, using QUIC over UDP with TLS integrated into the handshake.
The first byte is only the beginning
The browser sends a request for a path such as /index.html. Once HTML begins arriving, the parser can discover a stylesheet and start fetching it while the rest of the document is still in flight. A server can answer promptly and the screen can still stay blank while the browser waits for CSS needed to paint.
Read the waterfall
Open the Network panel in your browser, reload a page, and inspect the timing of its document request. A long wait before the first response byte points you toward the request path and the server. A document that arrives quickly, followed by a late stylesheet, tells a different story. Compare a first visit with a reload: if DNS and connection setup disappear from the timing breakdown, the browser may have reused an existing connection.