/Knowledge/sources/honojs__hono/llms-full/cache-middleware--3c2cecafa950.md
Cache Middleware - hono-docs
Cache Middleware Source evidence: /Sources/honojs hono/provenance.md Canonical citation: https://hono.dev/llms full.txt cache middleware Summary The Cache mi...
Cache Middleware
Source evidence: /Sources/honojs__hono/provenance.md Canonical citation: https://hono.dev/llms-full.txt#cache-middleware
Summary
The Cache middleware uses the Web Standards' Cache API. The Cache middleware currently supports Cloudflare Workers projects using custom domains and Deno projects using [Deno 1.26...
Content
The Cache middleware uses the Web Standards' Cache API.
The Cache middleware currently supports Cloudflare Workers projects using custom domains and Deno projects using Deno 1.26+. Also available with Deno Deploy.
Cloudflare Workers respects the Cache-Control header and return cached responses. For details, refer to Cache on Cloudflare Docs. Deno does not respect headers, so if you need to update the cache, you will need to implement your own mechanism.
See Usage below for instructions on each platform.
Metadata
{
"chunk_index": 0,
"citation": "https://hono.dev/llms-full.txt#cache-middleware",
"coverage_role": "overview",
"qualified_title": "Hono / llms-full / Cache Middleware",
"retrieved_at": "2026-07-02T05:51:01Z",
"section_index": 274,
"source_id": "/honojs/hono",
"source_type": "llms_full",
"target_label": "llms-full",
"title": "Cache Middleware",
"upstream_url": "https://hono.dev/llms-full.txt",
"version": "2026"
}