Are there any HttpCahce client libraries for Java?
-
I have already http://stackoverflow.com/questions/7941370/any-alternatives-to-cachinghttpclient-for-android/7954174#7954174 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
-
Answer:
Take a look at http://developer.android.com/reference/android/net/http/AndroidHttpClient.html and also this http://android-developers.blogspot.com/2011/09/androids-http-clients.html. Maybe they help? Also look at a similar question http://stackoverflow.com/questions/1456987/httpclient-4-how-to-capture-last-redirect-url.
user331244 at Stack Overflow Visit the source
Related Q & A:
- Is it possible to allow a client/user to log into a Remote Desktop session using credentials other than their AD username/password? (for SSO?Best solution by Server Fault
- How to Implement Gateway Service something similar to Oracle API gateway Using Java and Java based Open Source frameworks only?Best solution by Quora
- Difference between Java 2 and Java 6?Best solution by Yahoo! Answers
- How to synchronize IPhoto libraries between several Macs?Best solution by Super User
- Are you able to have 2 different Itunes libraries?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.