Created
March 11, 2018 21:09
-
-
Save ritikrishu/e1e04a2412f56a317b42151e1f16c6b2 to your computer and use it in GitHub Desktop.
creating/opening a cache
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.open('my-cache-category-name') | |
.then(cache => { | |
/** | |
`cache` is the store of my-cache-category-name cache | |
if it does not exists, it is created and a reference is give here | |
if it exists already, reference to that cache is provided | |
*/ | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment