How browsers work
Every visit to a website starts with a browser doing a long list of jobs in a few hundred milliseconds: fetching files, building the page structure, applying styles and painting pixels. Knowing that sequence makes it easier to see why one page feels quick and another stutters.
The two articles under this tag explain it step by step. One follows a single page load from the moment a link is clicked to the moment the content appears, including DNS, connections and resource loading. The other covers rendering and reflow, the work a browser repeats when layout changes, and why some edits to a page are far more expensive than others.
- Browser Rendering and Reflow Fundamentals
Understanding how a browser turns HTML into pixels — and what forces it to redo the work — explains half of all web performance advice. Here's the mental model.
- What Happens When a Page Loads
From DNS lookup to first paint, a page load is a chain of about a dozen steps. Understanding them turns vague speed complaints into fixable problems.