On Jul 14, 8:50pm, Henrik Nordstrom (possibly) wrote:
> Miquel van Smoorenburg wrote:
>
> > http://www.cistron.nl/~miquels/
> > http://www.cistron.nl/%7emiquels/
> > http://www.cistron.nl/%7Emiquels/
> >
> > Should squid realize that these are the same URLs and cache them only
> > once, or should squid treat them as 3 different URLs ? I think the
> > latter is what it does now.
>
> To HTTP these are three equivalent URLs (RFC 2616 section 3.2.3), and
> Squid should probably threat them as one. Not sure how to do so in a
> safe manner thought as there may be uncompliant servers which do not.
I suggest that a redirector be allowed to return more than one
URL, and that URLs known (or, for that matter, host names known - this
solves the problem of netscape/lynx/et al not doing multiple hostnames
when going through a proxy) to be in the database (positively cached)
be used first, then ones from cache digests, then whichever one gets
responses from other caches, then finally try them at the origin
server(s) in order of the return from the redirector.
-Allen
-- Allen Smith easmith@beatrice.rutgers.eduReceived on Wed Jul 14 1999 - 18:51:17 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:23 MST