[PWA] Create a “New Update Available” Notification using Service Workers

Hey everyone

I’ve been using ionic to quickly get my Progressive Web App going but had some problems with the service workers and how its caching works.
Since ionic comes only with that little service-worker snippet, I elaborated the problem in this blog post:

Maybe some fellow fresh PWA devs find it useful.