ephrem
ephrem3mo ago

How to opt out of caching an API in trpc NEXT/SSR?

I faced an issue where all the data's being fetched from my server component are not the latest, they seem to be the latest on dev, but not on production. I have tried to set a header in the responsemeta and also tried to add a stale time of 0 , below are the screenshots for the server
No description
No description
No description
0 Replies
No replies yetBe the first to reply to this messageJoin