{"id":55346,"library":"httpclient-cache","title":"Apache HttpClient Cache","description":"Provides caching support for the Apache HttpClient, enabling HTTP response caching to improve performance and reduce network requests.","status":"active","version":"4.5.14","language":"java","source_language":null,"source_url":"https://github.com/apache/httpcomponents-client","tags":["http","client","cache"],"install":[{"cmd":"<dependency>\n  <groupId>org.apache.httpcomponents</groupId>\n  <artifactId>httpclient-cache</artifactId>\n  <version>4.5.14</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.apache.httpcomponents:httpclient-cache:4.5.14'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"CachingHttpClient","correct":"org.apache.http.impl.client.cache.CachingHttpClient"}],"quickstart":{"code":"import org.apache.http.impl.client.cache.CachingHttpClient;\nimport org.apache.http.client.HttpClient;\n\npublic class Example {\n    public static void main(String[] args) {\n        HttpClient client = new CachingHttpClient();\n        System.out.println(\"Caching HTTP client created\");\n    }\n}","lang":"java","description":"Creating a caching HTTP client."},"warnings":[{"fix":"Use HttpClientBuilder.create().setCacheConfig(...).build() instead.","message":"CachingHttpClient is deprecated in favor of HttpClientBuilder with caching.","severity":"breaking","affected_versions":">=4.5"}],"env_vars":null,"search_vec":"'apach':1,9 'cach':3,5,14,24 'client':23 'enabl':11 'http':12,22 'httpclient':2,10 'improv':16 'network':20 'perform':17 'provid':4 'reduc':19 'request':21 'respons':13 'support':6","created_at":"2026-06-15T09:46:49.399220+00:00","updated_at":"2026-06-15T09:46:49.399220+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://hc.apache.org/httpcomponents-client-ga","github":"https://github.com/apache/httpcomponents-client","docs":"https://appdoc.app/artifact/org.apache.httpcomponents/httpclient-cache/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["http-client"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}