How can I add caching to AsyncImage
I had the same problem as you. I solved it by writing a CachedAsyncImage that kept the same API as AsyncImage, so that they could be interchanged easily, also in view of future native cache support in AsyncImage. I made a Swift Package to share it. CachedAsyncImage has the exact same API and behavior as …