Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for hasConditions (0.1 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          if (!isCacheable(cacheResponse, request)) {
            return CacheStrategy(request, null)
          }
    
          val requestCaching = request.cacheControl
          if (requestCaching.noCache || hasConditions(request)) {
            return CacheStrategy(request, null)
          }
    
          val responseCaching = cacheResponse.cacheControl
    
          val ageMillis = cacheResponseAge()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top