Re: [ServiceWorker] seems possible to trigger many update fetches after 24 hour limit expires (#759)

Good point. I'm not sure whether this is kind of an optimization point for implementations or something we'd want to put in the spec though.

If we want to spec it, I think we can use the [registration queue](https://slightlyoff.github.io/ServiceWorker/spec/service_worker/#dfn-registration-queue-adt) to see if calling an update is needed (i.e. if the registration queue is not empty, the caller can just return).

Also, will it make sense to put that line in the Soft Update? Or in the caller of the Soft Update? (e.g. Handle Fetch, Handle Functional Event).

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

Received on Wednesday, 14 October 2015 02:12:40 UTC