SDWebImageSwiftUI
SDWebImageSwiftUI copied to clipboard
Images aren't being cached for offline usage
Hello good people,
It seems that in my app, when my WebImage is loaded for the first time, it seems like it's remaining in memory and not being loaded again for the rest of the app's session. However, if I terminate my app, turn on airplane mode, and relaunch the app, the same image isn't loading, leading me to believe it either isn't being cached on the disk, or isn't being loaded form the disk.
Is there a way to force it to either cache into the disk or be loaded from the disk cache? I tried adding a cache to the SDImageCachesManager according to the documentation with a max disk size of 50mb, but it doesn't seem to be affecting anything.
Thanks!