[squid-users] Re: how to cache podcasts with '?' in URL using squid?

From: David Wetzel <dave_at_turbocat.de>
Date: Wed, 23 Jun 2010 05:20:37 -0700

Hi,

I am using adzap with these settings:

in adzap.conf, I added

ZAP_PREMATCH=/usr/pkg/etc/adzap/zaps.conf
STUBURL_PRINT=1

in zaps.conf:
PRINT http://podfiles.zdf.de/podcast/zdf_podcasts/(**).mp4(**) http://podfiles.zdf.de/podcast/zdf_podcasts/$1.mp4

grep "?" /usr/pkg/etc/squid/squid.conf
does not show any active line.

and it seems to work:

dave@atlantis>ftp "http://podfiles.zdf.de/podcast/zdf_podcasts/100622_hjo_p.mp4?2010-06-23+05-36"
Requesting http://podfiles.zdf.de/podcast/zdf_podcasts/100622_hjo_p.mp4?2010-06-23+05-36
100% |*****************************************************************************| 29282 KiB 67.56 KiB/s 00:00 ETA
29985558 bytes retrieved in 07:13 (67.56 KiB/s)
dave@atlantis>ftp "http://podfiles.zdf.de/podcast/zdf_podcasts/100622_hjo_p.mp4?2010-06-23+05-36"
Requesting http://podfiles.zdf.de/podcast/zdf_podcasts/100622_hjo_p.mp4?2010-06-23+05-36
100% |*****************************************************************************| 29282 KiB 2.02 MiB/s 00:00 ETA
29985558 bytes retrieved in 00:14 (2.01 MiB/s)

it is only 2 Megabytes per sec because its WLAN....

that should be in the FAQs...

Thanks for all the help

David
Received on Wed Jun 23 2010 - 12:20:41 MDT

This archive was generated by hypermail 2.2.0 : Wed Jun 23 2010 - 12:00:04 MDT