W3C home > Mailing lists > Public > www-jigsaw@w3.org > January to February 1998

Re: cached resources

From: Paul Pazandak <pazandak@OBJS.com>
Date: Fri, 23 Jan 1998 13:01:58 -0600
Message-ID: <34C8E926.B49B5F45@OBJS.com>
To: www-jigsaw@w3.org


Paul Pazandak wrote:

> Yves Lafon wrote:
>
> > On Thu, 22 Jan 1998, Gil Hansen wrote:
> >
> > > How can one tell if a resource being downloaded is obtained from the cache
> > > or from the remote host?
> >
> > If Jigsaw give the resource from the cache, the ingoingFilter of
> > CacheFilter will return a Reply, you can use that.
> > Another thing is to detect the Age: 0, but clearly, it is a hack :)
> >
>
> According to the docs ingoingFilter procesing should stop if a non-null Replyis
> returned. Shouldn't this mean that no other ingoingFilters are called when the
> CacheFilter returns a non-null Reply? In our test cases, the ingoingFilters are
>
> still being called.

Some additional info: In the http-server.props the line
w3c.www.protocol.http.filterslists CacheFilter first. The code in HttpManager DOES
appear correct however, and
SHOULD stop processing other filters if the CacheFilter (or any filters) returns a
non-null
response.

This would imply that the CacheFilter is the last filter being processed. ...I'll
have to check
this out.Sorry... I'm still in a daze from a nasty flu. Yes, one should be able to
change theorder of filters in the http-server.props file, as long as jigsaw
doesn't crash if the
CacheFilter doesn't have to be listed first. (will it break jigsaw?)

> Regards,
>
> Paul.
>
> > ...
>
> >      /\          - Yves Lafon - World Wide Web Consortium -
> >   /\ /  \                Architecture Domain - Jigsaw
> >  /  \    \/\
> > /    \   /  \   http://www.w3.org/People/Lafon - ylafon@w3.org
>
>    --
>
> ********************************************************************
> Paul Pazandak                                      pazandak@objs.com
> Object Services and Consulting, Inc.             http://www.objs.com
> Minneapolis, Minnesota 55420-5409                       612-881-6498
> ********************************************************************
Received on Friday, 23 January 1998 13:59:10 GMT

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