Created
October 28, 2019 14:14
-
-
Save thepassle/84696abda4ef8acf38437feae21c5832 to your computer and use it in GitHub Desktop.
strategies5
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
// network only | |
self.addEventListener(‘fetch’, function(event) { | |
event.respondWith(fetch(event.request)); | |
// or simply don’t call event.respondWith, which | |
// will result in default browser behaviour | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment