P.S.NikhilP
tRPC3y 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",
);
Was this page helpful?