CacheConfig

constructor(enabled: Boolean = false, maxCacheSizeBytes: Long = 100L * 1024L * 1024L)

Parameters

enabled

Whether caching is active. Default is false.

maxCacheSizeBytes

Maximum disk space the cache may use, in bytes. When the limit is reached, the least-recently-used entries are evicted. Default is 100 MB.