Make coil do not respect cache headers (possibly #59)

This commit is contained in:
vfsfitvnm 2022-10-11 12:37:20 +02:00
parent 493fc75345
commit cfe5dc965f

View file

@ -18,6 +18,7 @@ class MainApplication : Application(), ImageLoaderFactory {
override fun newImageLoader(): ImageLoader {
return ImageLoader.Builder(this)
.crossfade(true)
.respectCacheHeaders(false)
.diskCache(
DiskCache.Builder()
.directory(cacheDir.resolve("coil"))