Skip to content
fa
Search Frontend Atlas
Search questions and concepts across the handbook.

7 curated questions

Browser & Web Platform

The DOM, event loop, networking, storage, and browser internals.

  1. 01

    How does DOM event propagation work?

    Explain capture, target, bubble, composed paths, and delegation—including where propagation can be stopped.

    foundation · 9 min
  2. 02

    How do browser HTTP caches decide whether a response can be reused?

    Distinguish freshness, validation, cache directives, validators, and shared-cache behavior.

    intermediate · 12 min
  3. 03

    How do you cancel browser work when a user changes their mind?

    Use AbortController as a cancellation signal and distinguish cancellation from failure.

    intermediate · 9 min
  4. 04

    How do you load images without hurting performance or layout?

    srcset, sizes, priority, lazy loading, dimensions, and the CLS/LCP trade-offs that show up in real pages.

    intermediate · 13 min
  5. 05

    What happens between changing the DOM and pixels appearing on screen?

    Trace style calculation, layout, paint, rasterization, compositing, and the limits of “GPU accelerated.”

    intermediate · 14 min
  6. 06

    What problem does CORS solve, and when does a preflight happen?

    Separate same-origin policy, server permission, preflight negotiation, and credentialed requests.

    intermediate · 11 min
  7. 07

    How do you think about stale-while-revalidate and offline UI?

    Cache as a first-class state, revalidation, offline fallbacks, and the UX contracts users actually notice.

    advanced · 15 min