keys method
The keys()
method of the CacheStorage interface returns a
Promise
that will resolve with an array containing strings corresponding
to all of the named Cache objects tracked by the CacheStorage object
in the order they were created.
Use this method to iterate over a list of all Cache objects.
You can access CacheStorage
through the global caches
property.
Implementation
external JSPromise<JSArray<JSString>> keys();