Replies: 2 comments
-
It's likely the server is setting a custom |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. I migrated to coil 2. Lifetime cache is OK with Now, if I want to ignore server cache and force it (on my side) to keep it cached X seconds on DISK (tested with 30s), nothing I tried worked (= cache is still loaded from memory. Code :
Image I'm loading is from github :
And in fact .. when I don't use Well I'm lost :D Thanks |
Beta Was this translation helpful? Give feedback.
-
Didn't find much details about the cache implementation/configuration of the cache policies.
I have a simple goal : cache images to disk for a long time. Example : country flags fetched through api/network or weather icons.
As this icons are basically static/constant, It would be totally fine if it was cached for a month/year/ or even lifetime, but it seems they are only cached for 24h (my guess) (?)
Am i right ? And is there any way to customize the cache duration somehow ?
Using it with :
Thanks
Beta Was this translation helpful? Give feedback.
All reactions