-
-
Save kypflug/25727eb1dc9338e58b199ced638ebaa2 to your computer and use it in GitHub Desktop.
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
self.oninstall = function(event) { | |
event.waitUntil( | |
caches.open('static-v1').then(function(cache) { | |
return cache.addAll([ | |
'/', | |
'/index.html', | |
'/styles.css', | |
'/main.js', | |
'/fallback.html' | |
]); | |
}) | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment