问题
I have already asked about this for android, but I will broaden the question to include java in general... Are there any libraries for implementing a Http cache? I want to download my images more efficiently, honoring If-Modified-Since, etags, etc.
I'm sure there is a library to which one can pass the url of the image and let the lib handle all redirects or fetch the locally stored content in a cache?
BR // Jonas
回答1:
Take a look at this and also this blog post. Maybe they help? Also look at a similar question here.
来源:https://stackoverflow.com/questions/7970969/are-there-any-httpcahce-client-libraries-for-java