NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: how to cache podcasts with '?' in URL using squid?



On Wed, 23 Jun 2010, David Wetzel wrote:
The URLs in the XML look like

http://podfiles.zdf.de/podcast/zdf_podcasts/100621_hjo_p.mp4?2010-06-21+21-39

The part after the '?' is useless as far as I can tell.
[snip]
Any idea what I have to do for that in my squid.conf?

Look for refresh_pattern or no_cache deny lines.

e.g.
refresh_pattern -i (/cgi-bin/|\?) 0     0%      0
or:
acl QUERY urlpath_regex cgi-bin \?
no_cache deny QUERY

--
Stephen



Home | Main Index | Thread Index | Old Index