Created
March 7, 2018 11:43
-
-
Save colde/7091a3a87ce4facbc41e051abd8f62c5 to your computer and use it in GitHub Desktop.
Empty service worker caches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
caches.keys().then(function(names) { | |
for (let name of names) | |
caches.delete(name); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment