You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using an OkHttp Interceptor to change the value of my cache-control max-age directive to 10 seconds. However, I wait 10 seconds and the image is still producing a cache hit from my disk (I have disabled memory cache for testing purposes). I checked the local file system and saw that the .0 file containing the metadata actually reflects my value of 10 seconds as max-age so Im thinking maybe Coil does not evict the images immediately after TTL expiration.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi
I am using an OkHttp Interceptor to change the value of my cache-control max-age directive to 10 seconds. However, I wait 10 seconds and the image is still producing a cache hit from my disk (I have disabled memory cache for testing purposes). I checked the local file system and saw that the .0 file containing the metadata actually reflects my value of 10 seconds as
max-age
so Im thinking maybe Coil does not evict the images immediately after TTL expiration.Thank you
Beta Was this translation helpful? Give feedback.
All reactions