Convex’s use of server vs client caching
I know convex will cache server function queries so all clients that call the same function query will get the cached response. But what about repetitive calls from the client? I’ve seen a little reference that convex does client caching in 1 post but zero other info about it that I can find so far.
I’m trying to decide how to architect the query patterns for some dynamic data heavy pages. Specifically large custom spreadsheets that every column, row, and cell value can be changed (though not frequently) and shared between users, organizations, teams. So striking the right balance of how granular to make the query subscriptions is important. And how this will affect the function call quotas for convex matters even if they are generous.
From what I’ve seen, each server function call counts toward the usage quota whether it’s cached or not.
What about local cache responses? Is that even a thing or do I need to write my own local cache?
There’s guidance around using convex for state, but if it doesn’t local cache and charges for each function call it’s not really valid for state usage.
Appreciate any suggestions around the topic.
