Skip to content

Instantly share code, notes, and snippets.

@beebole

beebole/sw7.js

Created Jul 25, 2017
Embed
What would you like to do?
Mobile offline - SW file
caches.match( event.request )
.then(function( response ) {
if ( response ) {
return response;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment