service worker

 service worker s are scripts that run in the background, separate from tabs with the site open, and are commonly used for offline functionality and push notifications.

Why
Why would you want to add a service worker to your site? Many reasons, though most commonly:
 * offline support — allow visitors to still browse (parts of) your site when not connected. Ideally start with offline first support. See offline for more reasons.
 * local support — allow visitors (including yourself!) to interact with your site locally, independent of any network connection (thus not blocked / slowed by) and then sync those interactions in the background.

For a broader introduction including more reasons why, see:
 * 2018-04-27 : Introducing Service Workers

How to
This section is a stub, please expand it with articles that have helped you get started!

How to get started with a service worker:
 * 2018-03-06 : Minimal viable service worker

To support more features with your service worker, see the "How to" sections for those features! E.g.
 * offline

Jeremy Keith
on adactio.com since 2015-11-07:
 * https://adactio.com/journal/9775

Tantek
undefined on tantek.com since 2019-10-20:
 * https://tantek.com/2019/293/t1/indiewebcamp-brighton-hackday-offline

... add yourself

 * add yourself here

Brainstorming
Things to maybe try doing with service workers.

See the Brainstorming sections of features supported by service workers! E.g.
 * offline