- From: Marco Colli <notifications@github.com>
- Date: Sun, 02 Sep 2018 09:09:05 -0700
- To: w3c/push-api <push-api@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 2 September 2018 16:09:26 UTC
In the [working draft](https://www.w3.org/TR/push-api/) I cannot find anything about retries for the `push` event. When our service worker receives a `push` event it tries to `fetch` the notifications from the *application server*. What if a network error occurs? (e.g. the user is on an unreliable network or the server is temporary down) I think that it would be useful to always retry the `push` event with exponential backoff when an exception occurs: what do you think? Currently I don't see any way for the developer to create a reliable `push` handler. -- 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/push-api/issues/300
Received on Sunday, 2 September 2018 16:09:26 UTC