You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think it's hard to prepare codesandbox for this but I do confirm that issue.
The thing is you would have to prepare an API that will give the response on first time but will fail with the same request next time.
So if cachePolicy is set to default and you make a success response, and next time you change policy to no-cache AND make response failed, even then data is returning value from the previous cached request.
I think a workaround for @jakelheknight would be to add some query params to URL.
But still, this is a bug in my opinion because no-cache should not return data from the previous responses. Now it returns even of new request is not made or failed
Is caching somehow and returning the previous ID's data on a 500+ error.
The text was updated successfully, but these errors were encountered: