From an address to a page
Frontend & browsers
Start with the address in your browser. Learn which part names the host, which part asks for a resource, and which part stays out of the HTTP request.
- concept
URL structure
Read a web address, one part at a time. Learn what reaches the server—and why the fragment is different.
Explore the idea - concept
HTTP cookies
An HTTP cookie is a small name/value state item delivered in `Set-Cookie` and potentially returned in later `Cookie` request headers.
Explore the idea - concept
The browser DOM explained
The DOM is a tree of nodes representing a document. A browser builds it as it parses HTML, and scripts can update that tree after the initial parse.
Explore the idea - concept
Critical rendering path
The critical rendering path links resources and browser work needed for visible content. Required HTML/CSS, script execution, layout and painting can delay rendering; download time is only one part.
Explore the idea - concept
CORS and the same-origin policy
CORS permits browser scripts to read qualifying cross-origin responses. With credentials mode include, an explicit matching origin and credentials permission are required; a wildcard origin is insufficient.
Explore the idea - procedure
Responsive images with srcset and sizes
srcset supplies candidate resources; sizes describes the intended display size for width candidates. Browser selection also considers pixel density and is not a command to fetch one exact file.
Explore the idea - concept
HTML forms and validation boundaries
Browser form validation can catch declared input errors before submission, but it is not a trust boundary. The server must independently validate requests and enforce application and authorization rules.
Explore the idea - comparison
Semantic HTML and ARIA roles
Prefer native HTML when it supplies the interaction you need. Adding role=button to a div can expose semantics, but it does not create native focusability or keyboard activation.
Explore the idea - concept
JavaScript tasks, microtasks and rendering opportunities
A browser can finish a JavaScript task and still have microtasks to run before rendering. Compare the end of that work with a target time to see why meeting the target is different from observing a paint.
Explore the idea - concept
Streaming HTML parsing and blocking scripts
A script can finish downloading at the same time in two timelines yet leave the parser at different points in the HTML. Compare blocking, defer, and async to see when the DOM can keep growing.
Explore the idea - concept
Preload scanner and browser resource priorities
Finding a URL early gives it a chance to start sooner. Follow two transfers through one busy slot to see when a priority hint changes their order and when an early fetch goes unused.
Explore the idea - concept
JavaScript module dependency waterfalls
Independent module downloads can overlap. Follow a dependency from discovery through evaluation to see why fetching it earlier can help, and why its importer may still have to wait.
Explore the idea - concept
Service worker update, waiting and activation lifecycle
See why a successfully installed service worker can wait while old pages remain open, and why activating the replacement is different from claiming a previously uncontrolled page.
Explore the idea - troubleshooting
IndexedDB transaction lifetime and quota failures
Trace a missing IndexedDB edit from transaction activity to the write result and the final commit or abort. A quota error is not the same as an inactive transaction, and a commit is not a promise of permanent storage.
Explore the idea - concept
Storage partitioning and third-party contexts
An embedded panel can come from the same origin on two sites yet see different stored state. Compare the key selected in each context and see why a cookie grant need not change access to other storage.
Explore the idea - concept
Back-forward cache versus actual reload
Back can restore the document you left, including its JavaScript state. Reload starts a new document. Compare the two with an in-memory counter, then see what the pageshow event tells you on a real return.
Explore the idea - concept
Web font loading, FOUT and layout shifts
A fallback font can make text readable before a web font arrives. See why replacing it can add a line, why hiding text is different, and why neither a font swap nor a line count measures layout shift.
Explore the idea - concept
CSS containment and content-visibility tradeoffs
With content-visibility: auto, an offscreen section can stay in the document while its rendering is skipped. Relevance determines what can be skipped; size containment affects how much room the box takes.
Explore the idea
Reading a URL is a useful first step when a link opens the wrong page or a change appears to do nothing. The URL explorer below separates those jobs without making a network request.