On 11 Nov 2007, at 10:47, Story Henry wrote:
Does anyone know of a small proxy cache for clients written in java?


The following restlet issue has some very useful pointers on the subject

http://restlet.tigris.org/issues/show_bug.cgi?id=25

So what I am looking for according to http://www.mnot.net/cache_docs/
is either a proxy cache or a browser cache. (Searching for "browser cache java" on Google is a hopeless exercise.)

There are a number of open source caching libraries

http://java-source.net/open-source/cache-solutions

but these seem designed for object caching, not client side HTTP caching. Perhaps one of them could be useful for building such a client side cache...

It is interesting to see how Mozilla does things:

 http://www.mozilla.org/projects/netlib/http/http-caching-faq.html

though a more up to date version would be nice.

The restlet issue has more interesting pointers, no need to duplicate them here.

Conclusion: I have not yet found a ready made browser cache library for Java, but I have good pointers.

Henry

P.S.

On the same subject, I have often wondered if there was a good cache one could use for presentations. It would be nice to be able to have a local cache in case the network goes down, that would return only
cached representations when the network is down.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to