Skip to content

Instantly share code, notes, and snippets.

@rakeshtembhurne
Created May 18, 2018 06:29
Show Gist options
  • Save rakeshtembhurne/ecfe870d8b96bfaa82f25a6a88348a25 to your computer and use it in GitHub Desktop.
Save rakeshtembhurne/ecfe870d8b96bfaa82f25a6a88348a25 to your computer and use it in GitHub Desktop.
PWA: Removes Cached Progressive web app from broser
navigator.serviceWorker.getRegistrations().then(function(registrations) {
for(let registration of registrations) {
registration.unregister()
} })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment