Skip to content

docs: add universal-cache to third-party middleware docs#825

Open
lord007tn wants to merge 1 commit intohonojs:mainfrom
lord007tn:feat/universal-cache-docs
Open

docs: add universal-cache to third-party middleware docs#825
lord007tn wants to merge 1 commit intohonojs:mainfrom
lord007tn:feat/universal-cache-docs

Conversation

@lord007tn
Copy link
Contributor

@lord007tn lord007tn commented Feb 24, 2026

Summary

This docs PR accompanies @hono/universal-cache from:

The package depends on unstorage, so cache backends are adapter-based while keeping a single API surface in Hono.

What this PR adds

  • new third-party middleware page for @hono/universal-cache
  • sidebar entry for the new page
  • links from the third-party middleware index
  • documented default behavior and defaults
  • documented opt-in manual revalidation with shouldRevalidate
  • documented workerd stale refresh behavior

Validation

  • npx prettier --check .vitepress/config.ts docs/middleware/third-party.md docs/middleware/third-party/universal-cache.md

Merge Note

Please merge this together with the middleware PR:

@lord007tn lord007tn force-pushed the feat/universal-cache-docs branch from 6c5eb5c to cc6f4df Compare March 12, 2026 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant