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

From: David Wetzel <dave_at_turbocat.de>
Date: Tue, 22 Jun 2010 11:56:38 -0700

Hi,

is really nobody caching podcasts with squid?

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.

dave@hilly>squidclient "http://podfiles.zdf.de/podcast/zdf_podcasts/100621_hjo_p.mp4?2010-06-21+21-39"
HTTP/1.0 200 OK
Age: 147
Accept-Ranges: bytes
Date: Tue, 22 Jun 2010 18:49:21 GMT
Content-Length: 99123080
Content-Type: video/mp4
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13
Last-Modified: Mon, 21 Jun 2010 21:37:26 GMT
ETag: "63126287-5e87f88-1c5d9180"
X-Cache: MISS from hilly
Via: 1.0 hilly (squid/3.1.3)
Proxy-Connection: close

(....)

If I leave the part after '?', I get

dave@hilly>squidclient "http://podfiles.zdf.de/podcast/zdf_podcasts/100621_hjo_p.mp4"
HTTP/1.0 200 OK
Age: 0 <--- fishy right?
Accept-Ranges: bytes
Date: Tue, 22 Jun 2010 18:54:15 GMT
Content-Length: 99123080
Content-Type: video/mp4
Server: Apache/2.2.3 (Debian) PHP/5.2.0-8+etch13
Last-Modified: Mon, 21 Jun 2010 21:37:26 GMT
ETag: "63126287-5e87f88-1c5d9180"
X-Cache: MISS from hilly
Via: 1.0 hilly (squid/3.1.3)
Proxy-Connection: close

Do you need more information?

Thanks!

David

Am 19.06.2010 um 19:58 schrieb David Wetzel:

> Hi,
>
> I want to cache the video files linked in
>
> http://content.zdf.de/podcast/zdf_hjo/hjo.xml
>
> for 24 hours on squid.
> (So that multiple local users can get the file without the need to get it over the internet again)
>
> I was trying several ways suggested on the web, but it does not seem to work.
>
> maximum_object_size is 150000 KB
> I disabled all lines containing a "?"
>
> Any hints? I am using squid-3.1.3 from pkgsrc on NetBSD.
>
> Thanks!
>
> David
Received on Tue Jun 22 2010 - 18:56:44 MDT

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