Hello everyone, I had a quick question about the ...
# community-help
l
Hello everyone, I had a quick question about the
use_cache
parameter for
multi_search
and was hoping someone could help. I am looking to understand how the
use_cache
flag actually works, from the docs I can see that adding the flag will tell Typesense to cache the search result, which is great, but I am wondering what this does for subsequent requests that do not have the
use_cache
flag? I work for an auction house, and we are looking to have the data cached while the auction is not active, and then as soon as the auction becomes active we no longer want to see cached data and instead want to be fetching live data. My concern is that for requests which do not have
use_cache
we will continue to be served a cached search result until the
cache_ttl
has expired.
j
If you don’t have that parameter in the request, cache will be bypassed for that request, even if a corresponding entry exists in the cache
l
Amazing thank you @Jason Bosco
👍 1