All specs
HTML LS §WorkersWHATWGShould KnowProduct

Web Workers

Browser Platform·Web Hypertext Application Technology Working Group
WHY YOU NEED THIS

Any CPU-intensive work (parsing, compression, crypto, WASM) must run off the main thread to keep UI responsive. Workers are the browser's concurrency primitive — understand their message passing model and limitations (no DOM access).

What It Defines

Dedicated and Shared Workers: background JavaScript execution threads that don't block the main thread. Communicate via postMessage/structured clone. Dedicated Workers are per-creator; Shared Workers are per-origin and shared across tabs.

Canonical (Normative)

Convenient (Practical)

workersthreadsconcurrencybrowserperformance
Standards Body
Web Hypertext Application Technology Working Group

Maintains the living standards for the web platform: HTML, DOM, Fetch, URL, Streams, and more. These are continuously updated living documents, not versioned snapshots.

Visit

Related Specs

WHATWG HTML LSWHATWGMust Know

HTML

The spec behind every HTML page, form, and browser API. The canonical reference for how browsers actually parse and process HTML.

ProductBrowser Platform
Details
ECMA-262EcmaMust Know

ECMAScript

JavaScript is the execution model of the web. The spec is the canonical reference for language semantics — closures, coercion, prototype lookup, module resolution, and async scheduling.

ProductBrowser Platform
Details
W3C Service WorkersW3CShould Know

Service Workers

Service Workers power offline support, background sync, and push notifications. Required for serious PWA/installable app behavior.

ProductBrowser Platform
Details