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
> for 24 hours on squid.

Thet content is not cacheable. Here are the HTTP headers:

> HEAD -Sse
HEAD --> 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-Response-Num: 1
X-Cache: HIT from

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                        

Home | Main Index | Thread Index | Old Index