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 Window.caches property in
windows or through the WorkerGlobalScope.caches property in workers.
Implementation
external JSPromise<JSArray<JSString>> keys();