/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-cacheablestatuscode-5e8711487120-cacheablestatuscodes-number-s0283-c0000.md

cacheableStatusCodes: `number[]` - hono-docs

cacheableStatusCodes: number[] Source evidence: /Sources/raw/honojs hono/honojs hono.md Canonical citation: https://hono.dev/llms full.txt cacheablestatuscod...

cacheableStatusCodes: number[]

Source evidence: /Sources/raw/honojshono/honojshono.md Canonical citation: https://hono.dev/llms-full.txt#cacheablestatuscodes-number

Summary

An array of status codes that should be cached. The default is [200]. Use this option to cache responses with specific status codes. ```ts app.get( '*', cache({ cacheName: 'my-app', cacheControl: 'max-age=3600', cacheableStatusCodes: [...

Content

An array of status codes that should be cached. The default is [200]. Use this option to cache responses with specific status codes.

app.get(
  '*',
  cache({
    cacheName: 'my-app',
    cacheControl: 'max-age=3600',
    cacheableStatusCodes: [200, 404, 412],
  })
)
Kinic Wiki
Loading knowledge node
Details

Identity

database
db_23dhmsxlhukv
database_id
db_23dhmsxlhukv
path
/Wiki/sources/honojs__hono/2026/https-hono-dev-llms-full-txt-cacheablestatuscode-5e8711487120-cacheablestatuscodes-number-s0283-c0000.md
kind
directory
role
markdown_note
children
0

Metadata

created_at
virtual
updated_at
virtual
etag
virtual
metadata_json
{}

Lint Hints

No lightweight warnings.

Outgoing Links

No outgoing links indexed.

Incoming Links

Select a file node to inspect backlinks.

Raw Source

No raw source path inferred.