can't you just block */RealMedia/ads/* via squidguard or something? they're
only annoying adverts anyway :)
> Hi,
>
> I would like to cache requests for Shockwave Flash files. The problem
> is, these files have a bunch of cgi/query parameters that is
> changed for
> every request, making Squid fetch them from the web server each time.
> The output from the webserver is the same each time, so
> there's no real
> reason why one shouldn't cache or be able to cache the files. An
> example (had to turn off strip_query_terms to see it in the log):
>
> 1095077099.840 25 195.159.125.115 TCP_MISS/200 15910 GET
> http://ap.oasfile.aftenposten.no/ap/rosaindex/768x50_aftenpost
en.swf?clickTAG1=http%3A//primetime.ad.primetime.net/RealMedia/ads/click_lx.
ads/www.aftenposten.no/forside/5278/Top1/primetime/ap_rosaindex_768x50_til_d
es04/rosaindex_2xclicktag.html/63333966376437333430336565663130%3F_RM_REDIR_
%3Dhttp%3A//www.rosaindex.no/%3Frsat%3D3&clickTAG2=http%3A//primetime.ad.pri
metime.net/RealMedia/ads/click_lx.ads/www.aftenposten.no/forside/5278/Top1/p
rimetime/ap_rosaindex_768x50_til_des04/rosaindex_2xclicktag.html/63333966376
437333430336565663130%3Fhttp%3A//www.rosaindex.no/%3Fsaction%3DSOK%26fdsc%3D
rsCompany%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. :-(
Regards,
-- Anders. -- The content of this e-mail is confidential, may contain privileged material and is intended solely for the recipient(s) named above. If you receive this in error, please notify Software AG immediately and delete this e-mail. Software AG (UK) Limited Registered in England & Wales 1310740 Registered Office: Hudson House, Hudson Way, Pride Park, Derby DE24 8HSReceived on Mon Sep 13 2004 - 06:16:16 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:02 MDT