Re: Efficient way of enumerating squid contents?

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Sat, 10 Oct 1998 16:00:08 -0600 (MDT)

On Sat, 10 Oct 1998, Chris Wedgwood wrote:

> > Why do you want to change case of URLs or header information?
> Because
> http://www.microsoft.com/msdownload/
> and
> http://www.microsoft.com/MSDOWNLOAD/
> are really the same object - even though the URLs are different.

Not necessarily. More important question is how much bandwidth/response time
one would safe by violating HTTP? Since most URLs are encoded in HTML
documents rather than typed by users, I doubt the benefits would be
noticeable. The biggest problem is that a user may not be able to purge _all_
copies of an outdated object by pressing "Reload".
 
> Perhaps I should be looking more at the E-Tag header here?

No: Distinct objects may have equal E-Tags. Uniqueness is guaranteed only for
(URL, E-Tag) pairs. The situation is complicated by "weak" and "strong" tags.

> I'm aware UNIX is sane and knows .ASP != .asp, but sadly some lesser
> OSs don't make this distinction. It also appears that some genetic
> flaw afflicts certain people to make them more likely to choose such
> products and to product content with MiXEd case URLs, so that
> references to the same object result in multiple objects being
> stored.

So let's not encourage that behavior. :)

Alex.
Received on Tue Jul 29 2003 - 13:15:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:56 MST