Http Client Cache
constructor(maxCacheSize: Int = 100, maxAge: Duration = 30.minutes, maxIdleTime: Duration = 10.minutes, cleanupInterval: Duration = 5.minutes)(source)
Parameters
max Cache Size
maximum number of cached clients
max Age
maximum lifetime of a cache entry
max Idle Time
maximum idle time before an entry is considered expired
cleanup Interval
interval between background cleanup sweeps