Skip to content

Instantly share code, notes, and snippets.

Created Jul 25, 2017
What would you like to do?
Mobile offline - SW file
return 'name_your_cache_container' )
.then( function( cache ) {
cache.put( event.request, resp.clone( ));
return resp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment