W3C home > Mailing lists > Public > www-archive@w3.org > April 2006

Re: [Httplib2-discuss] Re: trying to cache wikipedia pages

From: Joe Gregorio <joe.gregorio@gmail.com>
Date: Wed, 26 Apr 2006 22:16:48 -0400
Message-ID: <3f1451f50604261916n479b0728jfa6e46d5eedc4cd1@mail.gmail.com>
To: "Dan Connolly" <connolly@w3.org>
Cc: httplib2-discuss@lists.sourceforge.net, www-archive@w3.org

Dan,
  I'm not quite sure I understand what you are trying to
accomplish with that patch. The idea of how it works
now is if _entry_disposition returns FRESH but there
is no cache entry then a 504 is returned. Do you have
test case or site where that fails?

   Thanks,
   -joe

On 4/19/06, Dan Connolly <connolly@w3.org> wrote:
> On Wed, 2006-04-19 at 11:03 -0500, Dan Connolly wrote:
> > I re-dicovered http://bitworking.org/projects/httplib2/ .
> >  http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.9.3
> >
> > Then I see max-stale is what I want, but then in httplib2.py, I see:
> >
> >     We will never return a stale document as
> >     fresh as a design decision, and thus the non-implementation
> >     of 'max-stale'.
> >
> > So I'm getting no help from either side. Sigh.
>
> I'm having some luck with only-if-cached. But I think the case
> of a cache miss is buggy. Patch attached.
>
>
>
> --
> Dan Connolly, W3C http://www.w3.org/People/Connolly/
> D3C2 887B 0F92 6005 C541  0875 0F91 96DE 6E52 C29E
>
>
>


--
Joe Gregorio        http://bitworking.org
Received on Thursday, 27 April 2006 02:16:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 7 November 2012 14:17:56 GMT