Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.3.2
-
None
Description
I created a `CloseableHttpClient` from `CachingHttpClientBuilder`. I assigned a directory for the `CloseableHttpClient`'s cacheDir.
The `CloseableHttpClient` worked well for processing requests with cache. But after `CloseableHttpClient.close()` invoked, all cached files were deleted. Therefore, new `CloseableHttpClient` in new JVM cannot reuse original cache.
This behavior is different from browsers or JDK's http clients.