When you click a link or type a URL, the page seems to appear instantly. But behind that simple click, your browser does a surprisingly complex dance - looking up addresses, opening secure connections, downloading files, parsing code and painting pixels. Understanding this sequence is the first step to building faster websites.
Step 1 - Looking up the address (DNS)
The browser needs to know which server to talk to. So it asks a DNS resolver, "what is the IP address for techcareer.site?" The resolver checks its cache, and if it does not know, it asks the root servers, then the .site servers, until it finds the answer. This usually takes a few milliseconds - but on a slow network it can be the biggest bottleneck.
Step 2 - Opening a secure connection
Once it has the IP address, the browser opens a TCP connection to the server, then upgrades it to HTTPS using a TLS handshake. This handshake exchanges encryption keys so that nothing you send (passwords, card numbers, anything) can be read by anyone in between. Modern browsers do this in one or two round trips.
Step 3 - Requesting and receiving the HTML
The browser sends an HTTP GET request - basically saying "please give me the homepage." The server processes the request and sends back an HTML file. The HTML is the skeleton of the page. The moment the first bytes arrive, the browser starts reading them - it does not wait for the full file before getting to work.
Step 4 - Discovering and downloading more files
As the browser parses the HTML, it finds links to other resources - CSS files, JavaScript files, images, fonts. It starts downloading them in parallel. CSS is render-blocking, meaning the page will not appear until the CSS is ready. JavaScript can also block, depending on how it is loaded. This is where performance work matters most.
Step 5 - Building the page (parsing and rendering)
The browser turns the HTML into a tree called the DOM, and the CSS into a tree called the CSSOM. It combines them into a render tree, calculates the position of every element (layout), and finally paints the pixels on your screen. JavaScript may then run and change things - adding interactivity, fetching more data, animating elements.
Why this matters for your business
Every step in this chain takes time. If your hosting is slow, step 3 takes longer. If your images are huge, step 4 drags. If your JavaScript is heavy, step 5 stutters. A well-built website respects each of these stages - and that is the difference between a site that feels snappy and one that feels broken. We build for speed at every layer.
