- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 781 for cacheIf (0.06 seconds)
-
docs/features/calls.md
Some requests will have a cached response. When this cached response isn’t fresh, OkHttp can do a _conditional GET_ to download an updated response if it’s newer than what’s cached. This requires headers like `If-Modified-Since` and `If-None-Match` to be added. ## Rewriting Responses
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:01:42 GMT 2026 - 3.9K bytes - Click Count (0) -
src/main/java/jcifs/netbios/NameServiceClientImpl.java
* be cached and cause other types to fail even though they may * not be the authority for the name. For example, if a WINS lookup * for FOO fails and caches unknownAddress for FOO, a subsequent * lookup for FOO using BCAST should not fail because of that * name cached from WINS. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 38.5K bytes - Click Count (0) -
src/test/java/jcifs/http/HandlerTest.java
assertTrue(connection instanceof NtlmHttpURLConnection, "Should use cached handler and wrap it."); } @Test void testOpenConnection_CachedHandler_ReusesExistingHandler() throws Exception { // This test verifies that once a handler is cached, subsequent calls reuse it. setupMockProtocolHandlers(); URL url1 = new URL("http://example.com/resource1");
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.1K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CacheControlTest.kt
.minFresh(3.seconds) .onlyIfCached() .noTransform() .immutable() .build() assertThat(cacheControl.toString()).isEqualTo( "no-cache, no-store, max-age=1, max-stale=2, min-fresh=3, only-if-cached, no-transform, immutable", ) assertThat(cacheControl.noCache).isTrue() assertThat(cacheControl.noStore).isTrue() assertThat(cacheControl.maxAgeSeconds).isEqualTo(1)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.7K bytes - Click Count (0) -
cmd/storage-rest-client.go
return nil }) if err != nil { return cache, toStorageErr(err) } if final == nil { return cache, errors.New("no final cache") } return *final, nil } func (client *storageRESTClient) GetDiskID() (string, error) { if !client.IsOnlineWS() { // make sure to check if the disk is offline, since the underlying // value is cached we should attempt to invalidate it if such callsCreated: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 08 02:38:41 GMT 2025 - 30.4K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/io/ContentCacheTest.java
ContentCache cache = new ContentCache(data); // ## Act & Assert ## assertArrayEquals(cache.getContentAsBytes(), cache.getContentAsBytes()); assertArrayEquals(cache.getContentAsBytes(), cache.getContentAsBytes()); } @Test public void testIsInMemory_WithEmptyByteArray() { // ## Arrange ## ContentCache cache = new ContentCache(new byte[0]);
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 15.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RateLimitHelper.java
import org.codelibs.fess.util.ComponentUtil; import com.google.common.cache.Cache; import com.google.common.cache.CacheBuilder; import jakarta.annotation.PostConstruct; import jakarta.servlet.http.HttpServletRequest; /** * Helper class for rate limiting functionality. * Implements a sliding window algorithm for request counting * and manages IP-based blocking using Guava Cache for automatic expiration. */ public class RateLimitHelper {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Dec 24 14:16:27 GMT 2025 - 9.4K bytes - Click Count (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
} } } /** * Polls the next URL queue entry for the specified session. * This method manages local caches and fetches from OpenSearch when needed. * * @param sessionId The session ID. * @return The next URL queue entry, or null if none available. */ @OverrideCreated: Sun Apr 12 03:50:13 GMT 2026 - Last Modified: Thu Nov 20 08:40:57 GMT 2025 - 16.9K bytes - Click Count (1) -
docs/es/docs/how-to/extending-openapi.md
{* ../../docs_src/extending_openapi/tutorial001_py310.py hl[22:24] *} ### Cachear el esquema de OpenAPI { #cache-the-openapi-schema } Puedes usar la propiedad `.openapi_schema` como un "cache", para almacenar tu esquema generado. De esa forma, tu aplicación no tendrá que generar el esquema cada vez que un usuario abra la documentación de tu API.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 3.5K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java
// Second evaluation of the same cached script should not see previous state final Map<String, Object> params2 = new HashMap<>(); params2.put("x", 3); assertEquals(3, engine.evaluate(script, params2)); engine.close(); } // ===== Compilation Failure Tests ===== /** * Test that syntax errors are not cached and can be retried */ @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:03:38 GMT 2026 - 29.1K bytes - Click Count (0)