Im woking with swift. My database setup.
In my database I am saving the URL to the stored image in Firebase storage.
I then use the URL to download and update UIImageviews which works nicely
However, I have tried using SDWebImage and kingfisher to cache and manage storage but both have give me the same issue. They will store the image in memory but not to disk. So after some time, the app needs to redownload the image which isn’t idea for offline capabilities.
I have tried changing the cache control header by extending the max age but with out any change.
I have also used the file manager system to store the image to disk myself which also works.
So I’m a little stuck any help ?