Caching Data for a trpc endpoint
I need to hit an external API every few minutes to update my local data
Call this BigDataList
I have a trpc endpoint
- GetOne
GetOne edits and reformats a single item of BigDataList and returns it
How would I go about caching BigDataList so it only updates every few minutes?
3 Replies