mirror of
https://github.com/immich-app/immich.git
synced 2026-01-25 19:04:42 -08:00
enable disk cache
This commit is contained in:
@@ -95,6 +95,7 @@ class RemoteImagesImpl(context: Context) : RemoteImageApi {
|
||||
.enableQuic(true)
|
||||
.enableBrotli(true)
|
||||
.setStoragePath(storageDir.absolutePath)
|
||||
.enableHttpCache(CronetEngine.Builder.HTTP_CACHE_DISK, CACHE_SIZE_BYTES)
|
||||
.build()
|
||||
.also { cronetEngine = it }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user