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

x/deno/ext/cache/lib.deno_cache.d.ts>CacheStorage

A modern runtime for JavaScript and TypeScript.
Go to Latest
interface CacheStorage
import { type CacheStorage } from "https://deno.land/x/deno@v1.27.1/ext/cache/lib.deno_cache.d.ts";

Methods

open(cacheName: string): Promise<Cache>

Open a cache storage for the provided name.

has(cacheName: string): Promise<boolean>

Check if cache already exists for the provided name.

delete(cacheName: string): Promise<boolean>

Delete cache storage for the provided name.

variable CacheStorage
import { CacheStorage } from "https://deno.land/x/deno@v1.27.1/ext/cache/lib.deno_cache.d.ts";

type

{ prototype: CacheStorage; new (): CacheStorage; }