Contact emails
na...@chromium.org, kenjibaheux@chromium.org
Explainer
https://github.com/beverloo/periodic-background-sync
Design doc/Spec
Summary
Periodic Background Sync is an extension of Background Sync. It 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.
Risks
Interoperability and Compatibility
No risk of breaking interoperability and compatibility.
Ergonomics
We expect developers to use the Permissions API before registering a Periodic Sync, and in the event listener, using Fetch or Background Fetch API to download updated state.
Activation
Documentation with examples should help make understanding usage easy.
Debuggability
rayankans@ is working on debuggability support for a few APIs that use service workers, so that relevant events can be logged even when Chrome isn’t running.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes, except WebView. This is because there are difficulties with the lifetime of a Webview client, and with identifying the right webview client on a page to which the Periodic Sync event should be dispatched.
Link to entry on the feature dashboard
Feature creation on the dashboard is currently broken. [Bug]
Requesting approval to ship?
No
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/d55ccfb4-ef8f-4c38-899e-11ae491f35a5%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/dbaf7d9d-adad-4ad1-8c4c-e86873bea8a2%40chromium.org.