Created
March 28, 2018 12:40
-
-
Save jacky810124/ddeacae9e45dcdac589d86b205521ad7 to your computer and use it in GitHub Desktop.
PWA Day06 - cache only
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.addEventListener('fetch', function(event) { | |
event.respondWith(caches.match(event.request)) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment