JavaScript & TypeScript

Service Worker

/ˈsɜːvɪs ˈwɜːkər/

Definition

A background script running between the browser and the network — enables offline support, background sync, and push notifications.

Example in context

"The service worker caches the app shell — our app loads instantly offline, then syncs data when online."

Practice this term

Master Service Worker in context by working through exercises in the JavaScript & TypeScript module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.