//okhttp/okhttp3/EventListener/cacheConditionalHit
cacheConditionalHit¶
[jvm]\ open fun cacheConditionalHit(call: Call, cachedResponse: Response)
Invoked when a response will be served from the cache or network based on validating the cached Response freshness. Will be followed by cacheHit or cacheMiss after the network Response is available.
This event will only be received when a Cache is configured for the client.