- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for statisticsConditionalCacheHit (0.79 sec)
-
okhttp/src/test/java/okhttp3/CacheTest.kt
assertThat(cache.requestCount()).isEqualTo(3) assertThat(cache.networkCount()).isEqualTo(3) assertThat(cache.hitCount()).isEqualTo(0) } @Test fun statisticsConditionalCacheHit() { server.enqueue( MockResponse.Builder() .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS)) .addHeader("Cache-Control: max-age=0") .body("A")
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Wed Apr 10 19:46:48 UTC 2024 - 108.6K bytes - Viewed (0)