Re: [squid-users] Object caching question

From: Amos Jeffries <squid3@dont-contact.us>
Date: Thu, 06 Dec 2007 01:07:31 +1300

Santiago Del Castillo wrote:
> Hi list!!
>
> Does squid let you configure if the following urls can be the same or
> different object in cache??
>
> http://www.example.com/example.jpg
> http://www.example.com//exapmle.jpg
>

By the strict standard they are different URI if they ever get passed to
the proxy. In practice the user-agent is supposed to strip the double //
down to a single in HTTP and some other protocols. Squid may or may not
strip it down as well.

Adrians recent work with a store re-writer in lets you create a custom
URI re-mapper to point both URI at the same place and thus store as the
same file. see the GoogleEarth/Maps threads for more info.

Amos
Received on Wed Dec 05 2007 - 05:07:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:01 MST