minFresh



fun minFresh(minFresh: Int, timeUnit: <Error class: unknown class>): CacheControl.Builder

Sets the minimum number of seconds that a response will continue to be fresh for. If the response will be stale when minFresh have elapsed, the cached response will not be used and a network request will be made.

Parameters

minFresh

a non-negative integer. This is stored and transmitted with TimeUnit.SECONDS precision; finer precision will be lost.