Created
September 2, 2015 18:28
-
-
Save riking/849a5a9b75d979c2aaa5 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 (e) { | |
// populate cache | |
// download all resources needed for offline experience | |
} | |
self.onactivate = function (e) { | |
// cleanup like managing cache | |
} | |
self.onfetch = function (e) { | |
// deal with network traffic | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment