After a query is cached, is calling it again free until its invalidated?
Also how is the cache invalidated, other than changes to the data? Is it on a specific timeframe too ?
3 Replies
Thanks for posting in <#1088161997662724167>.
Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets.
- Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.)
- Use search.convex.dev to search Docs, Stack, and Discord all at once.
- Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI.
- Avoid tagging staff unless specifically instructed.
Thank you!
hey! it still counts as a function call but doesn't cost database bandwidth.
we generally try to keep cache values around as long as we can so long as they're still valid. they can get evicted if you have a lot of cached function calls that are more recently used, for example.
Thanks a lot 🙂