swiftui-cached-async-image
swiftui-cached-async-image copied to clipboard
Fix caching behavior
Fixing wrong cache behavior, in case of urlRequest using default cache policy, there is 2 transactions metrics and the first one concerns the cache resource according to Apple: https://developer.apple.com/documentation/foundation/nsurlrequest/cachepolicy/useprotocolcachepolicy
Others policies have only one metrics.
Related issue: https://github.com/lorenzofiamingo/swiftui-cached-async-image/issues/24