What really happens when you open a website.
Between the moment you type an address and the moment the page appears, a series of steps unfolds in a few hundred milliseconds. Understanding them changes the way you design a website — and the way you discuss it with the studio building it.
- Published
- Section
- Web
- Format
- Featured
- Reading time
- 08 min
- Reference
- FSJ-W07

Opening a website feels instant. That’s precisely what makes it hard to discuss: when everything works, there’s nothing to see. But when a page takes four seconds to appear on a phone over 4G, or when a visitor sees a blank screen before the text arrives, we’re really talking about decisions made during design — not an incident.
This article follows the full journey, step by step. No technical knowledge is needed: the aim is to give you vocabulary and landmarks, so you know which questions to ask and where the real levers are.
- 01AddressYou type fideline.studio
- 02DNSThe name is translated into an IP address
- 03ServerThe request goes out, the response comes back
- 04FilesHTML, CSS, JS, images, fonts
- 05RenderingThe browser draws the page
The address and DNS
An address like fideline.studio is made to be read by humans. Machines, on the other hand, communicate with numeric addresses: IP addresses. So the browser’s first move is a translation. It queries a DNS resolver — often your internet provider’s — which works its way up a chain of name servers until it gets the address of the server hosting the site.
That answer isn’t requested again on every visit: it’s cached, on your machine, in your browser and at your provider, for a duration set by the domain owner. This explains something many people discover at the worst possible moment: when you change hosting, some visitors keep being sent to the old server for a few hours. Nothing is broken — the network’s memory is simply emptying out gradually.
The connection and the request
Once the address is known, the browser opens a connection to the server. Over HTTPS — which means everywhere today — a security negotiation is added: the server presents its certificate, the browser checks it, and the two agree on encryption keys. This handshake takes time, especially on a mobile network where every round trip comes at a cost.
The browser then sends its request: essentially, “give me this page”. It attaches context — the preferred language, the type of device, cookies already set by this domain, sometimes the page you came from. This information lets the server adapt its response: serve the French version, recognise an open session, measure where traffic comes from.
The server replies with a code and some content. The famous 404 means “this address doesn’t match anything”; 301 means “this content has moved permanently to this other address”. These codes aren’t trivial: during a redesign, they’re what tell search engines that your old pages have a new address, and what prevent you from losing the rankings you’ve built up.
Static or dynamic: two ways of answering
At this stage, two big families of websites go their separate ways. On a static site, the requested page already exists as a file: the server just has to send it. On a dynamic site — WordPress, an online shop, an application — the page is assembled on the fly: the server runs code, queries a database, fills in a template, then sends the result.
This difference explains much of the speed gap between two websites that look similar. It also explains why a dynamic site slows down when it gets many simultaneous visits, whereas a static site takes it in its stride. In between, there are hybrid approaches: generating pages in advance and only recalculating what changes, or caching the response for a few minutes.
Then there’s the question of distance. A server in Paris answers a visitor in Australia more slowly than one in Lyon — the speed of light in fibre is a physical limit. That’s the role of CDNs: distributing copies of the site across servers around the world, so each visitor is served from the nearest point.
HTML, CSS and JavaScript
The first response is almost always HTML: the structure and the content. While reading it, the browser discovers other resources to request — stylesheets, fonts, images, scripts — and fires off new requests. So a page never arrives in one piece: it’s put together, and every element added makes the list longer.
- HTML carries the meaning: headings, paragraphs, links, images, forms.
- CSS carries the form: layout, colours, typography, transitions.
- JavaScript carries the behaviour: whatever reacts, calculates or changes after display.
Order matters. CSS blocks display: until it has arrived, the browser would rather show nothing than show an unstyled page. Fonts can make text appear later, or in a fallback font that jumps when it’s swapped. JavaScript, depending on how it’s declared, can pause the reading of the whole document — or wait patiently for its turn.
The browser builds the picture
The browser then turns these files into an image. It builds the document tree, applies style rules to each element, calculates the position and size of everything that has to appear, then paints the result. This calculation produces the first display — and how long it takes depends as much on the device’s power as on the network’s speed.
And it keeps going. Every change — a menu opening, an image arriving, a scroll animation — triggers a new calculation, partial or complete. This is where perceived smoothness is won or lost: to keep motion pleasant, the browser has roughly sixteen milliseconds per frame. Beyond that, you notice stutters, even if the page loaded quickly.
That’s also why a website can be quick to open and unpleasant to use. These are two different measures: the time before the first display, and how stable the rendering is afterwards. Each is designed separately.

What to take away for your project
Designing a website means deciding what happens at each of these steps. How many resources to request, in what order, from where, and above all: what the visitor sees while the rest is arriving. A well-built website isn’t one that loads everything instantly — it’s one that shows the essentials straight away and loads the rest without getting in the way.
- 01Weight is a budgetEvery font, third-party script and heavy image is paid for in waiting time. A budget set upfront avoids the five-megabyte page discovered at the end.
- 02Content firstText and main images should be able to display without waiting for secondary scripts.
- 03Measure in real conditionsA website is tested on an entry-level phone on a mobile network, not just on the studio’s computer on fibre.
- 04Third-party tools add upEvery tracker, chat, map or widget adds requests to other domains, so more DNS lookups, more connections, more waiting.
Performance isn’t an end-of-project optimisation. It’s a series of decisions made during design.
Design and technology aren’t two separate subjects: they describe the same journey. A mock-up that calls for six fonts, a background video and three third-party tools has already decided the loading time, long before the first line of code. That’s also why I prefer to design and build in the same place.
The essentials in 5 points.
- 01A web page isn’t a single file: it’s an assembly requested piece by piece.
- 02DNS translates a readable name into a machine address before any connection is made.
- 03The browser builds the display by reading the HTML, then applying the CSS, then running the JavaScript.
- 04Every extra resource is one more request: a website’s weight is a series of decisions, not a fate.
- 05What appears first is a design choice, not a technical accident.