Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for CacheHit (0.04 seconds)

  1. docs/features/caching.md

    document's age at the time it was served based on "Last-Modified". Default expiration dates aren't used for URIs
    containing a query.
    
     - CallStart
     - **CacheHit**
     - CallEnd
    
    ### Cache Miss
    
    Under a cache miss the normal request events are seen but an additional event shows the presence of the cache.
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:01:42 GMT 2026
    - 3.1K bytes
    - Click Count (1)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt

        Thread.sleep(10) // Make sure the timestamps are unique.
        val cacheHit =
          executeSynchronously(
            "/",
            "Accept-Language",
            "en-US",
            "Accept-Charset",
            "UTF-8",
          )
    
        // Check the merged response. The request is the application's original request.
        cacheHit
          .assertCode(200)
          .assertBody("A")
          .assertHeaders(
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 146.5K bytes
    - Click Count (0)
Back to Top