Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 22 for noCache (0.05 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

      fun cacheControl() {
        val request =
          Request
            .Builder()
            .cacheControl(CacheControl.Builder().noCache().build())
            .url("https://square.com")
            .build()
        assertThat(request.headers("Cache-Control")).containsExactly("no-cache")
        assertThat(request.cacheControl.noCache).isTrue()
      }
    
      @Test
      fun emptyCacheControlClearsAllCacheControlHeaders() {
        val request =
          Request
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 24.6K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt

     * the cache, and fetch data directly from the server. To force a full refresh, add the `no-cache`
     * directive:
     *
     * ```java
     * Request request = new Request.Builder()
     *     .cacheControl(new CacheControl.Builder().noCache().build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * If it is only necessary to force a cached response to be validated by the server, use the more
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Mar 20 09:13:37 GMT 2026
    - 26.9K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

        val requestCount: Int = cache.requestCount()
      }
    
      @Test
      fun cacheControl() {
        val cacheControl: CacheControl = CacheControl.Builder().build()
        val noCache: Boolean = cacheControl.noCache
        val noStore: Boolean = cacheControl.noStore
        val maxAgeSeconds: Int = cacheControl.maxAgeSeconds
        val sMaxAgeSeconds: Int = cacheControl.sMaxAgeSeconds
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 49.7K bytes
    - Click Count (0)
  4. okhttp/api/jvm/okhttp.api

    	public final fun isPublic ()Z
    	public final fun maxAgeSeconds ()I
    	public final fun maxStaleSeconds ()I
    	public final fun minFreshSeconds ()I
    	public final fun mustRevalidate ()Z
    	public final fun noCache ()Z
    	public final fun noStore ()Z
    	public final fun noTransform ()Z
    	public final fun onlyIfCached ()Z
    	public static final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl;
    	public final fun sMaxAgeSeconds ()I
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt

          // rules are constant.
          if (!isCacheable(cacheResponse, request)) {
            return CacheStrategy(request, null)
          }
    
          val requestCaching = request.cacheControl
          if (requestCaching.noCache || hasConditions(request)) {
            return CacheStrategy(request, null)
          }
    
          val responseCaching = cacheResponse.cacheControl
    
          val ageMillis = cacheResponseAge()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  6. okhttp/api/android/okhttp.api

    	public final fun isPublic ()Z
    	public final fun maxAgeSeconds ()I
    	public final fun maxStaleSeconds ()I
    	public final fun minFreshSeconds ()I
    	public final fun mustRevalidate ()Z
    	public final fun noCache ()Z
    	public final fun noStore ()Z
    	public final fun noTransform ()Z
    	public final fun onlyIfCached ()Z
    	public static final fun parse (Lokhttp3/Headers;)Lokhttp3/CacheControl;
    	public final fun sMaxAgeSeconds ()I
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 72.3K bytes
    - Click Count (0)
  7. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

            Key cacheKey = null;
            RepositoryCache cache = session.getCache();
            if (cache != null && !ConfigUtils.getBoolean(session, false, "aether.versionResolver.noCache")) {
                cacheKey = new Key(session, request);
    
                Object obj = cache.get(session, cacheKey);
                if (obj instanceof Record record) {
                    result.setVersion(record.version);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Constants.java

         *
         * @since 3.0.0
         */
        @Config(type = "java.lang.Boolean", defaultValue = "false")
        public static final String MAVEN_VERSION_RESOLVER_NO_CACHE = "maven.versionResolver.noCache";
    
        /**
         * User property for overriding calculated "build number" for snapshot deploys. Caution: this property should
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  9. .github/ISSUE_TEMPLATE/00-bug.yml

        id: go-env
        attributes:
          label: "Output of `go env` in your module/workspace:"
          placeholder: |
            GO111MODULE=""
            GOARCH="arm64"
            GOBIN="/Users/gopher/go/bin"
            GOCACHE="/Users/gopher/go/cache"
            GOENV="/Users/gopher/Library/Application Support/go/env"
            GOEXE=""
            GOEXPERIMENT=""
            GOFLAGS=""
            GOHOSTARCH="arm64"
            GOHOSTOS="darwin"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 04 23:31:17 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  10. misc/go_android_exec/main.go

    		`; export GOROOT="` + deviceGoroot + `"` +
    		`; export GOPATH="` + deviceGopath + `"` +
    		`; export CGO_ENABLED=0` +
    		`; export GOPROXY=` + os.Getenv("GOPROXY") +
    		`; export GOCACHE="` + deviceRoot + `/gocache"` +
    		`; export PATH="` + deviceGoroot + `/bin":$PATH` +
    		`; export HOME="` + deviceRoot + `/home"` +
    		`; cd "` + deviceCwd + `"` +
    		"; '" + deviceBin + "' " + strings.Join(os.Args[2:], " ")
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Click Count (0)
Back to Top