Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for computeCandidate (0.17 sec)

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

                }
              }
            }
          }
        }
    
        /** Returns a strategy to satisfy [request] using [cacheResponse]. */
        fun compute(): CacheStrategy {
          val candidate = computeCandidate()
    
          // We're forbidden from using the network and the cache is insufficient.
          if (candidate.networkRequest != null && request.cacheControl.onlyIfCached) {
            return CacheStrategy(null, null)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
Back to top