Skip to main content
Module

x/httpcache/mod.ts>CacheStorage

HTTP Caching for Deno - in memory and redis storage support. Inspired by the Service Worker Cache API.
Latest
interface CacheStorage
import { type CacheStorage } from "https://deno.land/x/httpcache@0.1.2/mod.ts";

Methods

get(url: string): Promise<CachedResponse | undefined>
set(url: string, resp: CachedResponse): Promise<void>
delete(url: string): Promise<void>
close(): void