tRPCttRPC
Powered by
P.S.NikhilP
tRPC•3y ago•
26 replies
P.S.Nikhil

How to cache trpc server request next.js app router

is it the right way

ctx.headers.set(
"Cache-Control",
"public, max-age=43200, stale-while-revalidate=120, immutable",
);
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

Next.js app router + TRPC...how to set it up?
nitestackNnitestack / ❓-help
3y ago
Next.js App router
BrianBBrian / ❓-help
8mo ago
Next js Pages Router, TRPC
louLlou / ❓-help
5mo ago
Questions around trpc with next.js app router
HobbsHHobbs / ❓-help
2y ago