swiftui-cached-async-image
swiftui-cached-async-image copied to clipboard
Redirect Count
Hi,
we noticed that the caching mechanism did not work in our infrastructure. The downloaded image was not saved in cache because
if metrics.redirectCount > 0, let lastResponse = metrics.transactionMetrics.last?.response
return false, being metrics.redirectCount == 0.
There is any particular reason to check the redirectCount?
Thanks in advance!