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 Fri, Jun 18, 2010 at 08:02:19PM -0700, David Wetzel wrote:
> I want to cache the video files linked in
>
> http://content.zdf.de/podcast/zdf_hjo/hjo.xml
>
> for 24 hours on squid.
Thet content is not cacheable. Here are the HTTP headers:
> HEAD -Sse http://content.zdf.de/podcast/zdf_hjo/hjo.xml
HEAD http://content.zdf.de/podcast/zdf_hjo/hjo.xml --> 200 OK
Connection: close
Date: Wed, 23 Jun 2010 09:47:53 GMT
Server: Apache-Coyote/1.1
Content-Language: en-US
Content-Length: 6163
Content-Type: text/xml;charset=UTF-8
Client-Date: Wed, 23 Jun 2010 09:47:53 GMT
Client-Peer: 8.12.199.126:80
Client-Response-Num: 1
X-Cache: HIT from www.zdf.de
1.) There is no "Last-Modified" header or "ETag" header that Squid could
use to revalidate the content.
2.) There is also no "Cache-Control" or "Expires" headers which would
tell Squid how long it can cache the content.
Squid will therefore not cache this document.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Home |
Main Index |
Thread Index |
Old Index