swiftui-cached-async-image
swiftui-cached-async-image copied to clipboard
CachedAsyncImage is the simplest way to add cache to your AsyncImage.
I have a LazyVGrid inside a Scrollview.. scrolling from start to finish works great , as I scroll backward the scrollview jumps around.. I think the issue is the scrollview...
Hello @lorenzofiamingo, thank you for this great library! However when the image is really big, it seems like loading from cache slows down main UI thread. Could this operation be...
After installing the package, cachedAsyncImage is not available. Xcode throws the error: "Cannot find 'CachedAsyncImage' in scope"
Hi there! I wanted to download an image with a URL that is checked by the back-end with a cookie. If I just feed `AsyncCachedImage` with this URL, it brings...
Hi, The CachedImageSync is playing animation even if the image comes from cache. After debugging I have metrics.transactionMetrics.count equal 2 and it returns resourceFetchType = .localCache in the first object,...
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...
Is there a recommended way to clear the cache? I have tried `URLCache.shared.removeAllCachedResponses()` but noticed that when I go to settings -> storage -> my app, Documents & Data it...
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`...
I am loading multiple images with `CachedAsynImage`, and the problem is when I replace the previous URL with a new one, the previous image is still shown and the component...