Re: [squid-users] Is it possible to ignore parts of or all parts of a query string?

From: Anders Nordby <anders@dont-contact.us>
Date: Wed, 12 Jan 2005 10:46:48 +0100

Hi,

On Mon, Sep 13, 2004 at 02:32:44PM +0200, ecasbas wrote:
>>1095077099.840 25 195.159.125.115 TCP_MISS/200 15910 GET
>>http://ap.oasfile.aftenposten.no/ap/rosaindex/768x50_aftenposten.swf?clickTAG1=http%3A//primetime.ad.primetime.net/RealMedia/ads/click_lx.ads/www.aftenposten.no/forside/5278/Top1/primetime/ap_rosaindex_768x50_til_des04/rosaindex_2xclicktag.html/63333966376437333430336565663130%3F_RM_REDIR_%3Dhttp%3A//www.rosaindex.no/%3Frsat%3D3&clickTAG2=http%3A//primetime.ad.primetime.net/RealMedia/ads/click_lx.ads/www.aftenposten.no/forside/5278/Top1/primetime/ap_rosaindex_768x50_til_des04/rosaindex_2xclicktag.html/63333966376437333430336565663130%3Fhttp%3A//www.rosaindex.no/%3Fsaction%3DSOK%26fdsc%3DrsCompany%26rsat%3D2
>>- DIRECT/127.0.0.1 application/x-shockwave-flash
>>The actual file is just served statically from a local thttpd that has
>>all the files.
>>
>>I suppose the Shockwave "program" (the swf file) uses the query
>>parameters as a runtime configuration for what to do etc., so if only
>>Squid could pass this on and still cache the file contents, that would
>>be exactly what I want.
>>
>>Anyone have ideas about this? Is it doable? Running the swf's through
>>Squid works, it's just that every file that has query parameters is not
>>cached. :-(
> By default, squid don't make cache of dynamic content:
>
> acl QUERY urlpath_regex cgi-bin \?
> no_cache deny QUERY
>
> If you want cached the swf's, then
> remove the query parameter from the
> QUERY acl, but it isn't recommended.
> See:
> http://www.mnot.net/cache_docs/

This is not the problem. The problem is that I have URLs with random
data in them, which is different for each and every URL. Squid will not
cache that, query or not.

Cheers,

-- 
Anders.
Received on Wed Jan 12 2005 - 02:46:57 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST