← Back to release summary

Periodic Background Sync

Category
Service Worker
Type
New or changed feature
Status
Enabled by default (Chrome 80)
Intent stage
Start prototyping

Summary

Periodic Background Sync is an extension of Background Sync that allows websites to register tasks to be run in a service worker at periodic intervals with network connectivity.

Motivation

The API will allow offline-first web apps to periodically update state, and will allow periodic content producers like news sites to push content to users’ devices periodically. At present, sites can achieve this using Push messages, but need to set up a server for that.

Standards & signals

Docs: https://web.dev/periodic-background-sync/

Samples: https://github.com/beverloo/periodic-background-sync#example-code https://webplatformapis.com

Explainers: https://github.com/beverloo/periodic-background-sync PRD: https://docs.google.com/document/d/1FI4x3G6vzEWDplghSx-pH13aAwuGHiUGtXliEkZf0Vc/edit Design doc: https://docs.google.com/document/d/1isW8jMwHUDLaX6GJNf52JPUeB5n41a09t_HNjzUtqLE/edit

View on chromestatus.com