property CacheApiMiddlewareOptions.cache

The cache handle. Omitted resolves caches.default from the global scope; when that is also absent — every runtime other than Cloudflare Workers — the middleware passes through instead of throwing.

Type

Usage

import { type CacheApiMiddlewareOptions } from "cloudflare-plugin/src/index.ts";