Re: [push-api] Push events should Soft Update service worker (#115)

Agreed, specs that extend ServiceWorker should be free to do this.

Is there any concern about this using up peoples' data? It feels more sensitive because there's no user trigger. Is it worth applying some kind of throttle to the update checks from background events? Either based on time since last soft update, or disable on cellular-based connection types.

Ideally a SW update check should mostly be an etag-based conditional request and a 304 response, but a badly built site could, for whatever reason, put a timestamp in their SW and update a large cache per update.

Although, to be fair, native apps update in the background and pull down megabytes of stuff.

+@jungkees


---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/push-api/issues/115#issuecomment-87780578

Received on Monday, 30 March 2015 18:25:41 UTC