- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for usesCacheOnlyIfFresh (0.13 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt
assertThat(recordedRequest.url.encodedQuery) .isEqualTo("ct") assertThat(cacheEvents()).containsExactly(CacheMiss::class) } @Test fun usesCacheOnlyIfFresh() { val cache = Cache(File("./target/DnsOverHttpsTest.cache"), 100 * 1024L) val cachedClient = bootstrapClient.newBuilder().cache(cache).build() val cachedDns = buildLocalhost(cachedClient, false)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 11.9K bytes - Click Count (0)