---
title: "tRPC -- Caching - Air Market"
description: "The same questions keep arriving at your app, and right now every one travels all the way to your server before anyone sees an answer. This lets you tell web browsers and content delivery networks wh…"
canonical: "https://airmarket.ai/app/caching"
---

[Air Market](/) / [Developer Tools](/category/devtools) / tRPC -- Caching

Skill by [tRPC](/@trpc)

# tRPC -- Caching

Serve repeat queries without asking your server every time

## What this does

The same questions keep arriving at your app, and right now every one travels all the way to your server before anyone sees an answer. This lets you tell web browsers and content delivery networks which answers they are allowed to hold on to, and for how long. Answers meant for one signed-in person, failed requests, and actions that change data are all left out, so nothing gets reused by mistake.

### Top 3 things it does for you

- Control how long browsers and CDNs keep my query responses
- Keep signed-in users' responses out of shared caches
- Make sure mutations and errors are never cached

## Information

**tRPC -- Caching at a glance**

|  |  |
| --- | --- |
| Kind | Skill |
| Publisher | [tRPC](/@trpc) |
| Category | [Developer Tools](/category/devtools) |
| Works with | Agent Skills - an open standard supported by 40+ agents |
| Size | 5 KB |
| Licence | MIT |
| Repository | [trpc/trpc](https://github.com/trpc/trpc/tree/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/server/skills/caching) |
| GitHub stars | 40,541 (as of Nov 2026) |

## Security report

**Verified.** AIR scanned this exact version of tRPC -- Caching and flagged nothing. AIR's verdict: **safe**.

**What tRPC -- Caching's check was run against**

|  |  |
| --- | --- |
| Commit | 23c723cfeaf07da28a52a5c35c3dcccf96a47578 |
| Content hash | 32ad1b1a9498f5cde286cfdc369262bf04c85a2686d7325bad55ee5c13967115 |
| Files read | [Browse the files at this exact commit](https://github.com/trpc/trpc/blob/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/server/skills/caching/SKILL.md) |

A scan is named by the exact content it read, not by a version number. A different version is a different artifact, and nothing here applies to a version AIR has not scanned.

[Read the full security report for tRPC -- Caching](/security/caching)

## About tRPC -- Caching

This configures HTTP cache headers on tRPC query responses through the responseMeta callback, so responses can be cached by CDNs and by the browser. You choose the settings yourself: Cache-Control, s-maxage, and stale-while-revalidate.

Batching and authenticated requests are handled as part of caching rather than tripping over it. Mutations are not cached, error responses are not cached, and responses to authenticated requests are kept out of the cache.

## What's inside

- SKILL.md - instructions

## Questions

### Is tRPC -- Caching safe to install?

AIR scanned this exact version of tRPC -- Caching and flagged nothing. AIR's verdict: safe. The verdict is named by the content that was read, at commit 23c723cfeaf0, so it cannot drift onto a version nobody scanned. The full report is at https://airmarket.ai/security/caching.

### How do I install tRPC -- Caching?

Open https://airmarket.ai/app/caching on Air Market and use the install action: Air Market hands Claude a prompt naming this exact skill, and Claude sets it up. Source, pinned to the exact commit this listing describes: https://github.com/trpc/trpc/tree/23c723cfeaf07da28a52a5c35c3dcccf96a47578/packages/server/skills/caching. Install from that link, not the branch.

## Related on Air Market

- [More Developer Tools listings](/category/devtools)
- [Everything by tRPC](/@trpc)

---

Canonical URL: <https://airmarket.ai/app/caching>
