W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 2007

Re: Jigsaw as a caching proxy server

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 31 May 2007 09:40:18 -0400 (EDT)
To: David Smiley <DSMILEY@mitre.org>
Cc: www-jigsaw@w3.org
Message-ID: <Pine.LNX.4.64.0705310933530.18761@ubzre.j3.bet>

On Fri, 18 May 2007, David Smiley wrote:

>
>
> I am trying to use Jigsaw as a caching proxy server.
> I followed the instructions here:
> http://www.w3.org/Jigsaw/Doc/User/proxy.html
> I got it working.  However, it seems to not be doing any caching (from wire
> traffic observations), but it's possible I'm wrong.  Do I need to add the
> "CacheFilter" or some other such component; and basically how is that done?

Yes the CacheFilter needs to be added. The fastest way is to edit 
"http-server.props" and put the following lines:
org.w3c.www.protocol.http.filters=org.w3c.www.protocol.http.cache.CacheFilter
org.w3c.www.protocol.http.cache.size=<what you want in bytes>
org.w3c.www.protocol.http.proxy.debug=false
...
See 
http://www.w3.org/Jigsaw/Doc/Reference/org.w3c.www.protocol.http.cache.CacheFilter.html

> Might anyone recommend an alternative Java based caching proxy server (not
> necessarily "production" grade but suitable for experimentation)?  What's
> drawn me to Jigsaw is that it's Java and that it adheres to the HTTP caching
> related specs well (from my observations of the source).

You can try Rabbit at http://rabbit-proxy.sourceforge.net/
Cheers,

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Thursday, 31 May 2007 13:40:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:38 GMT