Last active
July 17, 2017 07:35
-
-
Save Chalarangelo/ecf576be319a4fe1d9b2d61e1db1f7b3 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
// "caches" is a global read-only variable, which is an instance of CacheStorage | |
caches.open(cacheName).then(function(cache) { | |
// Do something with your cache | |
}); | |
// Source: https://developer.mozilla.org/en-US/docs/Web/API/CacheStorage/open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment