From 6338e895075b9ba7b53ec676008299f66b4752fa Mon Sep 17 00:00:00 2001 From: Koitharu Date: Tue, 23 Jul 2024 11:37:26 +0300 Subject: [PATCH] Improve covers caching --- app/src/main/kotlin/org/koitharu/kotatsu/core/AppModule.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/kotlin/org/koitharu/kotatsu/core/AppModule.kt b/app/src/main/kotlin/org/koitharu/kotatsu/core/AppModule.kt index 8c93fc4b6..cf47f00b2 100644 --- a/app/src/main/kotlin/org/koitharu/kotatsu/core/AppModule.kt +++ b/app/src/main/kotlin/org/koitharu/kotatsu/core/AppModule.kt @@ -110,6 +110,8 @@ interface AppModule { .decoderDispatcher(Dispatchers.IO) .transformationDispatcher(Dispatchers.Default) .diskCache(diskCacheFactory) + .respectCacheHeaders(false) + .networkObserverEnabled(false) .logger(if (BuildConfig.DEBUG) DebugLogger() else null) .allowRgb565(context.isLowRamDevice()) .eventListener(CaptchaNotifier(context))