Fetch with timeout not returning cache items on timeout #1526
Unanswered
bigescalade
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I am trying to configure the urql client to use a fetch with timeout function. The timeout function works fine however if there is already items in the cache and the request times out no items in the cache are being returned either. The cacheExchange sits on top of the fetchExchange in the client config so the cache items should at least be returned in the response right? The request policy we use is
cache-and-network
for all our querieshere is the urql client setup
Beta Was this translation helpful? Give feedback.
All reactions