Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/hono/middleware/cache/index.ts>cache

Ultrafast web framework for Cloudflare Workers, Deno, Bun, and Node.js. Fast, but not only fast.
Extremely Popular
Go to Latest
variable cache
import { cache } from "https://deno.land/x/hono@v3.0.0-rc.10/middleware/cache/index.ts";

type

(options: { cacheName: string; wait?: boolean; cacheControl?: string; }) => MiddlewareHandler