Using the org.apache.httpcomponents:httpasyncclient-cache:4.1.3 library, I\'m trying to work out how I can create an asynchronous caching
You can create a new CachingHttpAsyncClient directly after you have built a HttpAsyncClient. For example:
CloseableHttpAsyncClient asyncClient= HttpAsyncClientBuilder.create().build();
CachingHttpAsyncClient client = new CachingHttpAsyncClient(asyncClient, cacheConfig());
You can know more constructors from here.