Jared Brown
Jared Brown
CCConvex Community
Created by Jared Brown on 9/12/2024 in #support-community
Client side caching / costs?
Hello! Looking at Convex, I noticed that it is recommended to have a useQuery for pretty much every data read—which makes sense, at least for initial application render. But is there any client side caching to prevent repetitive function calls for data that isn't updating? Thinking of apps where you may call several queries per page, but the underlying data isn't changing regularly (profile photos, names, titles of documents, etc)—so it seems like you're unnecessarily going to rack up a large amount of function calls. Curious if this is something to think about, or not? Obviously free tier gets you very far, but just curious from an architecture/data fetching standpoint what the "best" E2E strategy is for both BE/FE performance and usage stats.
17 replies