P.S.NikhilP

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?