Cache SSG helper response
I'm using
I trying to cache a response of a public procedure called there, but I'm running into a dead end.
I tried following the "App caching" example in the docs (https://trpc.io/docs/caching#app-caching), but the
Is it somehow possible to still have the response cached?
createProxySSGHelpers in GSSP with ssr: false in the global config.I trying to cache a response of a public procedure called there, but I'm running into a dead end.
I tried following the "App caching" example in the docs (https://trpc.io/docs/caching#app-caching), but the
responseMeta option is unavailable if ssr: false. (At least TS tells me so)Is it somehow possible to still have the response cached?
The below examples uses Vercel's edge caching to serve data to your users as fast as possible.