swiftui-cached-async-image icon indicating copy to clipboard operation
swiftui-cached-async-image copied to clipboard

Redirect Count

Open mardegan-rawfish opened this issue 2 years ago • 0 comments

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!

mardegan-rawfish avatar Jun 22 '23 10:06 mardegan-rawfish