Phil Nash
Phil Nash
Nov 11, 2018 · 1 min read

You’re looking for “silent push” as are many others. The second flow that you and Sebastiaan investigated worked because the browsers allow a certain number of mistakes(?) before they start to show a generic notification to say that your site sent a push notification without showing a notification. I believe that after ~10 or so notifications, and that’s different between browsers, they run out of patience.

There have been some unsuccessful proposals for allowing silent push while minimising the potential abuse, not just to the cache but the user’s network and battery as well. The, now obsolete, Budget API gave sites an ability to build up trust and then assign that trust as a budget to resources like silent pushes. This take down of the Budget API seems to have killed it off, but I agree with the conclusion. This is something that the permissions API, an increasingly important API for controlling all the things the web can do now, can and should handle.

The pattern of push and cache is a really nice one that I’ve experimented with (including a notification) and I hope the web can come to a solution for it soon too.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store