Because Coil relies on OkHttp’s disk cache, it fully supports the “cache-control” header for any images from the network. This lets the server specify how long an image can be cached by the client. You can also control the caching behaviour on a per request basis by using networkCachePolicy
, diskCachePolicy
, and memoryCachePolicy
.