Proposal: Periodic Background Sync

Periodic Background Sync is an extension of Background Sync. It enables websites to register tasks to be run in a service worker at periodic intervals with network connectivity. This will allow offline-first web apps to periodically update state, and will enable 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.

Status

There’s an explainer at https://github.com/beverloo/periodic-background-sync.

There’s an intent to implement for Chromium. This will help guide the design of the spec and API. We also plan to conduct an origin trial to assess API usability and make changes as a result.

2 Likes

An Intent to Experiment is now out for Periodic Background Sync!