https://kotlinlang.org logo
#squarelibraries
Title
# squarelibraries
j

jw

03/11/2022, 2:12 AM
it seems like they're simply ignoring HTTP cache headers entirely and assuming everything can be cached forever. not sure that's a smart idea.
t

Trevor Stone

03/11/2022, 4:15 PM
I was digging into it yesterday and they do respect http cache headers to at least some extent https://github.com/coil-kt/coil/blob/main/coil-base/src/main/java/coil/fetch/HttpUriFetcher.kt#L54
c

Colin White

03/12/2022, 1:26 AM
Coil uses a slightly tweaked version of OkHttp's
CacheStrategy