IT lexicon › Web › Web Workers

Web Workers

Web På svenska → Updated: 2026-07-30

Background threads in the browser — heavy computation without blocking the UI.

Classic Web Worker: a separate JS file, communicates via postMessage. Shared Workers (shared between tabs), Service Workers (PWA cache). No DOM access. Good for: parsing, encryption, ML inference in the browser.

← Back to the lexicon