t
tRPC
S
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
.
tRPC
Join
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
v11 types ProcedureBuilder & MiddlewareBuilder
F
FluX / ❓-help
11mo ago
Generating Types in v11
E
Evan / ❓-help
2y ago
TRPC v10 to v11 - change logs location
M
Mr.default / ❓-help
3y ago
v11 crash, bug in trpc?
M
Mika / ❓-help
11mo ago