Currently documented tRPC cacheing methods (https://trpc.io/docs/server/caching) won't work with Next.JS' app router as they rely on setting headers which Next.js now overrides (https://nextjs.org/docs/app/api-reference/next-config-js/headers#cache-control).
As such - there is no documentation or examples (anywhere, as far as I can tell) for how to manage cacheing of tRPC endpoints running in a NextJS App Router environment.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too