NEW 214548
Feature Request: Implement the Background Fetch API
https://bugs.webkit.org/show_bug.cgi?id=214548
Summary Feature Request: Implement the Background Fetch API
Thomas Steiner
Reported 2020-07-20 04:27:37 PDT
Spec: https://wicg.github.io/background-fetch/ Article: https://developers.google.com/web/updates/2018/12/background-fetch Use case: Fetching (as in down- or uploading) content without the page being open. Example: ```js navigator.serviceWorker.ready.then(async (swReg) => { const bgFetch = await swReg.backgroundFetch.fetch('my-fetch', ['/ep-5.mp3', 'ep-5-artwork.jpg'], { title: 'Episode 5: Interesting things.', icons: [{ sizes: '300x300', src: '/ep-5-icon.png', type: 'image/png', }], downloadTotal: 60 * 1024 * 1024, }); }); ```
Attachments
Felix Gnass
Comment 1 2020-07-23 02:29:00 PDT
We would love to add background fetch to the PWA of German public broadcaster ZDF (https://pwa.zdf.de) so having support for this in Safari too would be highly appreciated.
Radar WebKit Bug Importer
Comment 2 2020-07-24 19:26:52 PDT
Note You need to log in before you can comment on or make changes to this bug.