Registry / http-client / httpclient-cache

httpclient-cache

JSON →
library4.5.14javamavenunverified

Provides caching support for the Apache HttpClient, enabling HTTP response caching to improve performance and reduce network requests.

<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient-cache</artifactId> <version>4.5.14</version> </dependency>
INSTALL
IMPORT
SIG · HTTPCLIENT-CACHE
H
httpclient-cache
http-clientjavav4.5.14
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CachingHttpClient
org.apache.http.impl.client.cache.CachingHttpClient

Creating a caching HTTP client.

import org.apache.http.impl.client.cache.CachingHttpClient; import org.apache.http.client.HttpClient; public class Example { public static void main(String[] args) { HttpClient client = new CachingHttpClient(); System.out.println("Caching HTTP client created"); } }
Debug
Known issues
breakingCachingHttpClient is deprecated in favor of HttpClientBuilder with caching.
fix
Use HttpClientBuilder.create().setCacheConfig(...).build() instead.
affects: >=4.5
Upgrade
Version history
4.5.14latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
53 hits · last 30 days
node
47
Bingbot
5
Resources
httpclient-cache — mvn dependency:get httpclient-cache · libregistry