Web platform features explorer

Service workers

Widely available since 2020-10-30
Tags: api http Groups: Workers

The service worker of a website is a script that runs in its own thread and which acts as local proxy that intercepts network requests from the website. Use a service worker to implement advanced caching strategies, offline support, background tasks, or push notification support on your website.

Specifications

Browser support (view on caniuse.com)

  • Chrome 45 Released on 2015-09-01
  • Chrome Android 45 Released on 2015-09-01
  • Edge 17 Released on 2018-04-30
  • Firefox 44 Released on 2016-01-26
  • Firefox for Android 44 Released on 2016-01-26
  • Safari 11.1 Released on 2018-04-12
  • Safari on iOS 11.3 Released on 2018-03-29