interface CacheStorage
Methods #
#match(request: RequestInfo | URL,options?: MultiCacheQueryOptions,): Promise<Response | undefined> Check if a given Request or URL string is a key for a stored Response.
Returns the matching Response, or undefined if no match is found.
If options.cacheName is provided, only the cache with that name is
searched. Otherwise, all caches are searched in creation order.
variable CacheStorage
The constructor object for CacheStorage.
The CacheStorage instance is accessed via the global caches
property rather than constructed directly, so calling the constructor throws.
Properties #
#prototype: CacheStorage readonly