RE: Push API and Service Workers

On Monday, October 20, 2014 9:42 AM, Jake Archibald wrote:
>Things I guess you'd do as a result of a push message:

One of the most typical scenarios is
* show a toast notification (e.g. for a new email)
* user chooses to dismiss the notification, so not to read the email right away

That is it.  From the power efficiency perspective, the browser itself doesn't have to always wake up to process the push message.  It should be a decision by web developers whether the message should be handled explicitly by the service worker every time it arrives.  

-Shijun

Received on Tuesday, 21 October 2014 15:54:03 UTC