tRPCttRPC
Powered by
VengeanceV
tRPC•2y ago•
3 replies
Vengeance

Don't understand cache

How come my API is still getting called when it's already been called with other inputs?
Ex:
1. api fetch with 1 as the input
2. api fetch with 0 as the input
I expect if the input gets set to 1 again, the API would not be called because we already fetched the result for that

Am I doing something wrong or need to set something up? I'm on v11
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

cache craziness?
patrickPpatrick / ❓-help
3y ago
Clearing Cache
ZephZZeph / ❓-help
4y ago
SSR and loading indicators - I don't get it
nehalistNnehalist / ❓-help
4y ago
Nextjs 16 use cache
VilianVVilian / ❓-help
3mo ago