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?



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



Home | Main Index | Thread Index | Old Index