ictxdiogo
TTCTheo's Typesafe Cult
•Created by ictxdiogo on 11/13/2023 in #questions
cashing trpc calls on RSC
on a call like this
export default async function Page(){
const sample = await api.sample.getSample.query();
...
}
Does this call have cash by default?
If so, how can I increase the time?
If not, does anyone have any guidance on what to research to implement caching?
motivation: this is a route nothing change quickly, and no need go to db every time
2 replies