DFIELDSOLUTIONS

Web and delivery

GlossaryService worker

A script the browser runs between your page and the network — intercepts requests to cache, serve offline and sync in the background.

Registered once, the service worker sits in the request path: the page asks, the worker decides — cache first, network first, or a hand-built fallback when offline. That middle position is what makes offline-capable web apps possible and what makes PWAs more than a manifest.

The power comes with the classic footgun: a worker caching too aggressively serves a stale site to users who cannot fix it with refresh — the worker controls the refresh too. Versioned caches and a deliberate update flow are the price of the superpower.

Related terms

The bench this belongs to

Full-stack

If you can describe it, we can build it. React and Next.js on the front, Python or Node behind, Postgres underneath, shipped to somewhere you can afford to run.

All termsStart a conversationMarkdown version

DField Bt. · Dunakeszi · dezso@dfieldsolutions.com
5.0
“From LinkedIn DM to live site. Two tiny tweaks, then shipped.”Michael J Ringer · Vilya ProtectionFounder · Spain