Skip to main content
Module

x/evt/mod.ts>dom.CacheStorage

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.CacheStorage
import { type dom } from "https://deno.land/x/evt@v2.3.1/mod.ts";
const { CacheStorage } = dom;

The storage for Cache objects.

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>