2 messages · Page 1 of 1 (latest)
In createAsyncStoragePersister which parameter determines how long react-query will not fetch while it is cached?
staleTime: Infinity,
cacheTime: 60000,
With these settings I imagined that the Async Storage Persister cache would be ignored after 1 minute. But even after 1 min it doesn't call backend
I found "maxAge" in "persistOptions" in "PersistQueryClientProvider". But I would like to set an age for each query, is this possible?