VengeanceV
tRPC2y 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
Was this page helpful?