Re: [w3c/ServiceWorker] Using BroadcastChannel to wake up a service worker (#975)

> @jakearchibald
> 
> Doesn't https://developers.google.com/web/updates/2015/12/background-sync do this?

Background-sync only triggers an event "out of nowhere" so the data I need to send would not be accessible unless I use something like [localStorage](https://developer.mozilla.org/fr/docs/Web/API/Window/localStorage), which has a limit in storage capacity (5-10MB depending on browser).

The reports I need to send often reach up to 30-40MB, which is the main reason I want the upload to be in the background. It may take a while to upload this much data.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/975#issuecomment-977981028

Received on Wednesday, 24 November 2021 15:26:06 UTC