Hi,
I have realized that my app was consuming way too many resources as it was constantly reading my databases in Firebase. I started investigating Query Caching. I believe that the concept is relatively straightforward: once you make a specific query for the first time, you create your cache and then you can decide to re-use it instead of querying again your database, basically for as long as you want and until to decide to clear the cache.
There is however a part that is not clear to me. Most of the examples/docs I am going through use the "Single Time Query" as well. I understand what it does but I am also wondering what happens when you do not active it. Would not it be the most efficient way to automatically refresh the cache as soon as something changes in your database without having to add specific code to refresh cache every day, or upon specific action?
Is there specific drawback in caching a query while keeping inactive the "single time query" button?
Thanks!