Skip to content

deanhume/pwa-update-available

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

Have you ever been on a website and noticed a popup notification that suggests that there is a new version of the site available? I recently visited Google’s Inbox and noticed a notification a little like the image below.

PWA New version available

If you'd like to learn how to create this for your site and for a step by step guide, please visit my blog at deanhume.com.

This repo contains a basic example that will show you how to add a notification to your site and display it each time that there is a new version of the service worker available. You’ll also learn how to refresh the page, so that the user is up to date and has the latest version of any cached files.

About

Service Workers - New Update Available sample

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published