What Happens When You Open a Website
A friendly walkthrough of DNS, servers, HTTP, and rendering — what actually occurs in the seconds between a click and a visible page.
Clicking a link starts a chain of fast, invisible steps. Understanding them explains everything from load speeds to why short links add only milliseconds.
From Name to Address
Your browser asks a DNS resolver to translate the domain name into an IP address — the server’s numeric location. That answer is cached at several layers, which is why repeat visits start faster.
The Request and Response
The browser sends an HTTP request to the server, which processes it — running application code, querying databases if needed — and returns HTML. The browser then requests referenced assets: CSS, JavaScript, and images, each a separate round trip.
Rendering the Page
The browser parses HTML, applies CSS, executes JavaScript, and paints pixels. Short links slot into step two: one extra redirect response to the shortener server, typically under a tenth of a second before the destination’s chain begins.
Frequently Asked Questions
Why do some sites feel instant and others slow?
Server speed, asset sizes, and geographic distance from the server dominate.
What is a CDN?
A network of servers worldwide delivering your assets from locations near each visitor.
Does my browser cache help?
Yes — cached assets skip network requests on repeat visits, speeding them dramatically.
Open your site’s developer tools network tab and watch the waterfall of requests load — page anatomy becomes obvious instantly.