Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 187 for uncached (0.6 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     * if (forceCacheResponse.code() != 504) {
     *   // The resource was cached! Show it.
     * } else {
     *   // The resource was not cached.
     * }
     * ```
     *
     * This technique works even better in situations where a stale response is better than no response.
     * To permit stale cached responses, use the `max-stale` directive with the maximum staleness in
     * seconds:
     *
     * ```java
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

          return Response
            .Builder()
            .request(chain.request())
            .protocol(Protocol.HTTP_1_1)
            .code(HTTP_GATEWAY_TIMEOUT)
            .message("Unsatisfiable Request (only-if-cached)")
            .sentRequestAtMillis(-1L)
            .receivedResponseAtMillis(System.currentTimeMillis())
            .build()
            .also {
              listener.satisfactionFailure(call, it)
            }
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                entry.updateState(newState);
    
                // Flush any cached data if losing write cache
                if (Smb2LeaseState.hasWriteCaching(oldState) && !Smb2LeaseState.hasWriteCaching(newState)) {
                    flushCachedWrites(entry.getPath());
                }
    
                // Invalidate cached data if losing read cache
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFileDirectoryLeasingExtension.java

            String directoryPath = smbFile.getPath();
    
            // Check if we can use cached directory listing
            if (dirManager.canCacheDirectoryListing(directoryPath)) {
                List<SmbFile> cachedFiles = dirManager.getCachedDirectoryListing(directoryPath);
                if (cachedFiles != null) {
                    log.debug("Using cached directory listing for: {}", directoryPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        assertThat(response.code).isEqualTo(expectedResponseCode)
    
        // Exhaust the content stream.
        response.body.string()
        val cached = cacheGet(cache, request)
        if (shouldWriteToCache) {
          assertThat(cached).isNotNull()
          cached!!.body.close()
        } else {
          assertThat(cached).isNull()
        }
        server.close() // tearDown() isn't sufficient; this test starts multiple servers
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 113.6K bytes
    - Viewed (0)
  6. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        }
      }
    
      // TODO GET preferred order - with tests to confirm this
      // 1. successful fresh cached GET response
      // 2. unsuccessful (404, 500) fresh cached GET response
      // 3. successful network response
      // 4. successful stale cached GET response
      // 5. unsuccessful response
      @Test
      fun usesCache() {
        val cache = Cache(cacheFs, "cache".toPath(), (100 * 1024).toLong())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. internal/stmt_store/stmt_store.go

    }
    
    // Store defines an interface for managing the caching operations of SQL statements (Stmt).
    // This interface provides methods for creating new statements, retrieving all cache keys,
    // getting cached statements, setting cached statements, and deleting cached statements.
    type Store interface {
    	// New creates a new Stmt object and caches it.
    	// Parameters:
    	//   ctx: The context for the request, which can carry deadlines, cancellation signals, etc.
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun Apr 27 06:05:16 UTC 2025
    - 6K bytes
    - Viewed (0)
  8. docs/features/caching.md

            urlIterator.remove()
          }
        }
    ```
    
    ### Troubleshooting
    
    1. Valid cacheable responses are not being cached
    
    Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.
    
    ### Overriding normal cache behaviour
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.1K bytes
    - Viewed (1)
  9. lib/fips140/Makefile

    v%.zip:
    	git fetch origin master
    	go run ../../src/cmd/go/internal/fips140/mkzip.go v$*
    
    # normally mkzip refuses to overwrite an existing zip file.
    # make v1.2.3.rm removes the zip file and and unpacked
    # copy from the module cache.
    v%.rm:
    	rm -f v$*.zip
    	chmod -R u+w $$(go env GOMODCACHE)/golang.org/fips140@v$* 2>/dev/null || true
    	rm -rf $$(go env GOMODCACHE)/golang.org/fips140@v$*
    
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  10. .github/workflows/vulncheck.yml

        steps:
          - name: Check out code into the Go module directory
            uses: actions/checkout@v4
          - name: Set up Go
            uses: actions/setup-go@v5
            with:
              go-version: 1.24.x
              cached: false
          - name: Get official govulncheck
            run: go install golang.org/x/vuln/cmd/govulncheck@latest
            shell: bash
          - name: Run govulncheck
            run: govulncheck -show verbose ./...
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Apr 24 23:34:11 UTC 2025
    - 682 bytes
    - Viewed (0)
Back to top