Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for cacheable (0.24 sec)

  1. .idea/dictionaries/4u7.xml

    <component name="ProjectDictionaryState">
      <dictionary name="4u7">
        <words>
          <w>aarch</w>
          <w>bintray</w>
          <w>cacheability</w>
          <w>cacheable</w>
          <w>cidr</w>
          <w>fastutil</w>
          <w>foldable</w>
          <w>instrumentator</w>
          <w>jdks</w>
          <w>jsshell</w>
          <w>proguarded</w>
          <w>protobuf</w>
          <w>redirector</w>
          <w>remapper</w>
          <w>sonatype</w>
    XML
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 16 12:19:01 GMT 2023
    - 498 bytes
    - Viewed (0)
  2. docs/features/caching.md

        while (urlIterator.hasNext()) {
          if (urlIterator.next().startsWith("https://www.google.com/")) {
            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
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  3. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateKotlinVersions.kt

    import org.gradle.api.tasks.UntrackedTask
    import java.util.Properties
    import javax.xml.parsers.DocumentBuilderFactory
    
    
    /**
     * Fetch the latest Kotlin versions and write a properties file.
     * Never up-to-date, non-cacheable.
     */
    @UntrackedTask(because = "Not worth tracking")
    abstract class UpdateKotlinVersions : DefaultTask() {
    
        @get:Internal
        abstract val comment: Property<String>
    
        @get:Internal
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 26 13:50:17 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. internal/config/cache/cache.go

    }
    
    var configLock sync.RWMutex
    
    // Enabled - indicates if cache is enabled or not
    func (c *Config) Enabled() bool {
    	return c.Enable && c.Endpoint != ""
    }
    
    // MatchesSize verifies if input 'size' falls under cacheable threshold
    func (c Config) MatchesSize(size int64) bool {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	return c.Enable && c.BlockSize > 0 && size <= c.BlockSize
    }
    
    // Update updates new cache frequency
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

    // https://youtrack.jetbrains.com/issue/KT-49915
    fun Task.isKotlinJsIrLink() = this.javaClass.simpleName.startsWith("KotlinJsIrLink")
    
    fun isMonitoredAsciidoctorTask() = false // No asciidoctor tasks are cacheable for now
    
    fun Project.isExpectedAsciidoctorCacheMiss() =
    // Expected cache-miss for asciidoctor task:
    // 1. CompileAll is the seed build for docs:distDocs
    // 2. BuildDistributions is the seed build for other asciidoctor tasks
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 07 05:49:29 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

    import org.jsoup.Jsoup
    import org.w3c.dom.Element
    import java.util.Properties
    import javax.xml.parsers.DocumentBuilderFactory
    
    
    /**
     * Fetch the latest AGP versions and write a properties file.
     * Never up-to-date, non-cacheable.
     */
    @UntrackedTask(because = "Not worth tracking")
    abstract class UpdateAgpVersions : DefaultTask() {
    
        @get:Internal
        abstract val comment: Property<String>
    
        @get:Internal
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jun 02 09:17:07 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Cache.kt

     * is still valid. Such responses increment both the network count and hit count.
     *
     * The best way to improve the cache hit rate is by configuring the web server to return cacheable
     * responses. Although this client honors all [HTTP/1.1 (RFC 7234)][rfc_7234] cache headers, it
     * doesn't cache partial responses.
     *
     * ## Force a Network Response
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

      }
    
      companion object {
        /** Returns true if [response] can be stored to later serve another request. */
        fun isCacheable(
          response: Response,
          request: Request,
        ): Boolean {
          // Always go to network for uncacheable response codes (RFC 7231 section 6.1), This
          // implementation doesn't support caching partial content.
          when (response.code) {
            HTTP_OK,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

            .networkResponse(networkResponse.stripBody())
            .build()
    
        if (cache != null) {
          val cacheNetworkRequest = networkRequest.requestForCache()
    
          if (response.promisesBody() && CacheStrategy.isCacheable(response, cacheNetworkRequest)) {
            // Offer this request to the cache.
            val cacheRequest = cache.put(response.newBuilder().request(cacheNetworkRequest).build())
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.16.md

    * cache-control headers are now set appropriately.  Only openapi is cacheable if etags match. ([#81946](https://github.com/kubernetes/kubernetes/pull/81946), [@deads2k](https://github.com/deads2k))
    Plain Text
    - Registered: Fri Apr 26 09:05:10 GMT 2024
    - Last Modified: Thu Feb 11 10:00:57 GMT 2021
    - 345.2K bytes
    - Viewed (0)
Back to top