Re: [squid-users] Caching problem

From: Michael Jurisch <[email protected]>
Date: Wed, 17 Oct 2007 09:08:48 +0200

> The headers referred to above aren't part of the HTML, they're HTTP
> headers as returned by your web server.
>
> ...
>
> You can also ask for just the headers, with a HEAD request instead
> of a GET request:
>
> HEAD / HTTP/1.0

Ok, thanks a lot for your help so far. I did that and get the following output:

200 OK
Content-Length: 932
Content-Type: text/html
Last-Modified: Thu, 02 Aug 2007 11:53:12 GMT
Client-Date: Tue, 16 Oct 2007 09:36:16 GMT

200 OK
Connection: close
Date: Mon, 15 Oct 2007 23:40:02 GMT
Server: Apache-Coyote/1.1
Content-Length: 855
Content-Type: text/html
Client-Date: Tue, 16 Oct 2007 09:36:17 GMT
Client-Peer: 205.234.170.164:80
Client-Response-Num: 1

So, how does that helps me or what does it say about caching behaviour of squid?
Or in other words: How do I now manage it, that e.g. a html file will be held in cache/considered as fresh for let's say 30 min?

Thanks again,
Micha
Received on Wed Oct 17 2007 - 01:09:01 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT