Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 377 for Caching (0.05 seconds)

  1. docs/features/caching.md

    Caching
    =======
    
    OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and
    pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and
    server behaviour when ambiguous.
    
    # Basic Usage
    
    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
    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. src/main/java/org/codelibs/curl/io/ContentCache.java

     * It implements the Closeable interface to ensure that resources are properly released.
     *
     * <p>This class supports two types of content caching:
     * <ul>
     *   <li>In-memory caching using a byte array</li>
     *   <li>File-based caching using a File object</li>
     * </ul>
     *
     * <p>When an instance of ContentCache is created with a byte array, the content is cached in memory.
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  3. README.md

    - Support for query parameters, headers, body (String or stream), compression, SSL configuration, proxies, and timeouts
    - Automatic in-memory or on-disk caching of request/response bodies
    - Synchronous and asynchronous (callback) execution
    - Minimal dependencies (only Apache Commons IO)
    
    ## Installation
    
    ### Maven
    
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Thu Nov 20 13:34:13 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. internal/stmt_store/stmt_store.go

    	// Parameters:
    	//   ctx: The context for the request, which can carry deadlines, cancellation signals, etc.
    	//   key: The key representing the SQL query, used for caching and preparing the statement.
    	//   isTransaction: Indicates whether this operation is part of a transaction, which may affect the caching strategy.
    	//   connPool: A connection pool that provides database connections.
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 6.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing popular words and suggestions.
     * Provides functionality to retrieve popular words based on search parameters
     * and manages caching for improved performance.
     */
    public class PopularWordHelper {
        /** Logger instance for this class */
        private static final Logger logger = LogManager.getLogger(PopularWordHelper.class);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  6. .teamcity/performance-tests-ci.json

            "per_commit" : [ "linux", "windows", "macOs" ]
          }
        } ]
      }, {
        "testId" : "org.gradle.performance.regression.android.AndroidIncrementalExecutionPerformanceTest.abi change with configuration caching",
        "groups" : [ {
          "testProject" : "nowInAndroidBuild",
          "coverage" : {
            "per_commit" : [ "linux", "windows", "macOs" ]
          }
        } ]
      }, {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 03 21:56:33 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  7. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/PreparePatchRelease.kt

    import java.net.http.HttpRequest
    import java.net.http.HttpResponse
    
    
    private
    data class GradleServicesVersion(val version: String, val buildTime: String)
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class PreparePatchRelease : DefaultTask() {
    
        @get:Internal
        abstract val versionFile: RegularFileProperty
    
        @get:Internal
        abstract val releasedVersionsFile: RegularFileProperty
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/cache/CacheBuilder.java

    /**
     * A builder of {@link LoadingCache} and {@link Cache} instances.
     *
     * <h2>Prefer <a href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a> over Guava's caching
     * API</h2>
     *
     * <p>The successor to Guava's caching API is <a
     * href="https://github.com/ben-manes/caffeine/wiki">Caffeine</a>. Its API is designed to make it a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 13:13:59 GMT 2026
    - 52K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

    import org.gradle.api.provider.Property
    import org.gradle.api.tasks.Internal
    import org.gradle.api.tasks.TaskAction
    import org.gradle.work.DisableCachingByDefault
    
    
    @DisableCachingByDefault(because = "Not worth caching")
    abstract class UpdateReleasedVersions : DefaultTask() {
    
        @get:Internal
        abstract val releasedVersionsFile: RegularFileProperty
    
        @get:Internal
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

            // No matching host header
            String key = virtualHostHelper.getVirtualHostKey();
            assertEquals("", key);
    
            // Matching host header
            request.addHeader("Host", "example.com");
            key = virtualHostHelper.getVirtualHostKey();
            assertEquals("", key); // Still empty due to caching
    
            // Test caching by calling again - should return cached value
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
Back to Top