tRPCttRPC
Powered by
SongkeysS
tRPC•2y 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
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.
Response Caching | tRPC
The below examples uses Vercel's edge caching to serve data to your users as fast as possible.
Response Caching | tRPC
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

v11 types ProcedureBuilder & MiddlewareBuilder
FluXFFluX / ❓-help
11mo ago
Generating Types in v11
EvanEEvan / ❓-help
2y ago
TRPC v10 to v11 - change logs location
Mr.defaultMMr.default / ❓-help
3y ago
v11 crash, bug in trpc?
MikaMMika / ❓-help
11mo ago