caching
About caching
Set HTTP cache headers on tRPC query responses via responseMeta callback for CDN and browser caching. Configure Cache-Control, s-maxage, stale-while-revalidate. Handle caching with batching and authenticated requests. Avoid caching mutations, errors, and authenticated responses.
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / trpc/ trpc --skill cachingAfter installing, type/cachingin Claude Code to confirm it loaded.
Comments
Markdown supported