Global CacheStorage:
const k = await globalThis.caches.keys()
Output:
error: Uncaught (in promise) TypeError: globalThis.caches.keys is not a function
Specific Cache:
const c = await globalThis.caches.open('e1')
const k = await c.keys()
Output:
error: Uncaught (in promise) TypeError: c.keys is not a function
IDK is this a bug or something, but docs says that CacheStorage.keys method should be available (not sure about specific Cache.keys).
Version: Deno 2.7.12+20a1a36
Global CacheStorage:
Output:
Specific Cache:
Output:
IDK is this a bug or something, but docs says that CacheStorage.keys method should be available (not sure about specific Cache.keys).
Version: Deno 2.7.12+20a1a36