Releases: Kamel-Media/Kamel
Releases · Kamel-Media/Kamel
v0.8.3
v0.8.2
v0.8.1
v0.8.0
NEW
- Huge shoutout to @psuzn for #61 which adds a persistent disk cache implementation by leveraging ktor's
CacheStorage
feature
Disk Cache size (in MiB)
Kamel can now create a persistent disk cache for images by implementing ktor's CacheStorage
feature.
The default config KamelConfig.Default
installs this feature with a 10 MiB disk cache size.
The underlying disk cache is based on coil's multiplatform DiskLruCache implementation, (which itself is a port from libcore disklrucache).
KamelConfig {
httpFetcher {
// The size of the cache can be defined in bytes. Or `DefaultHttpCacheSize` (10 MiB) can be used.
httpCache(DefaultHttpCacheSize)
}
}