SongkeysS
tRPC17mo ago
2 replies
Songkeys

[v11] Change responseMeta in procedure

Is there a way to do so? I need to add a cache header to one specific api.

I found this doc quite confused me. I don't have createTRPCNext in my app (mine is app rotuer created from t3 template). And this seems a global caching rather than a single api route one.

Thank you in advanced.
The below examples uses Vercel's edge caching to serve data to your users as fast as possible.
Response Caching | tRPC
Was this page helpful?