Re: [ServiceWorker] Support restarting download when storing large resources in Cache (#713)

> Is this the same thing as background sync?

Background sync keeps the SW open to get a fulfill/reject response from the promise passed to `waitUntil`, whereas `backgroundDownloadThisPlease` would allow the SW (or even the whole browser) to be shut down and the download continue.

> What about something like `cache.append(request, response)`

I guess if `response` gave up halfway through, the downloaded content would still be added to the existing partial response? This means we have to work out how to handle a cache containing partials, but that's possible.

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/713#issuecomment-114918530

Received on Wednesday, 24 June 2015 15:44:40 UTC