Ideally I'd want to throttle my requests that are not present in the cache (but serve them immediately if they've already been fetched). I've put below an extract from https://github.com/kuitos/axios-extensions that gives an idea of what I'm looking for
It seems like this cannot be done with the adapter returned by setupCache, given that it will try to find the query in the cache and then try to fetch via network (which allows to fallback on the stale data from the cache)
Is this somehow possible with axios-cache-adapter?
Ideally I'd want to throttle my requests that are not present in the cache (but serve them immediately if they've already been fetched). I've put below an extract from https://github.com/kuitos/axios-extensions that gives an idea of what I'm looking for
It seems like this cannot be done with the adapter returned by
setupCache
, given that it will try to find the query in the cache and then try to fetch via network (which allows to fallback on the stale data from the cache)Is this somehow possible with
axios-cache-adapter
?