Currently there's no property in the response object which tells me if the data was served from cache or if it had to execute the queryFn to return the response.
IIRC, previous version had an isCached flag which provided this information.
I tried to use isFetched flag. But it's set to true in both cases.
Is there something in the response object that can be used to determine if the data was served from cache?
Currently there's no property in the response object which tells me if the data was served from cache or if it had to execute the queryFn to return the response.
IIRC, previous version had an
isCachedflag which provided this information.I tried to use
isFetchedflag. But it's set to true in both cases.Is there something in the response object that can be used to determine if the data was served from cache?