Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/yxz/typing/lib.dom.ts>CacheStorage

Deno Standard Extensions
Go to Latest
interface CacheStorage
import { type CacheStorage } from "https://deno.land/x/yxz@0.17.0/typing/lib.dom.ts";

The storage for Cache objects. Available only in secure contexts.

Methods

delete(cacheName: string): Promise<boolean>
has(cacheName: string): Promise<boolean>
keys(): Promise<string[]>
match(request: RequestInfo, options?: MultiCacheQueryOptions): Promise<Response | undefined>
open(cacheName: string): Promise<Cache>