Re: [squid-users] can't get squid to cache

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Wed, 09 Jul 2008 15:12:32 +0200

On ons, 2008-07-09 at 14:32 +0200, Angelo Höngens wrote:

> Is there any way I can force caching if the control headers are missing??

refresh_pattern with a min age does this.

> Here's two records from access.log:
>
> 1215606505.637 1678 10.94.206.73 TCP_MISS/200 3262 GET
> http://10.94.206.77:8001/bin?id=ACC83639Zoover-NL&irversion=510 -
> FIRST_UP_PARENT/10.94.206.34 text/html
> 1215606506.990 1352 10.94.206.73 TCP_MISS/200 3262 GET
> http://10.94.206.77:8001/bin?id=ACC83639Zoover-NL&irversion=510 -
> FIRST_UP_PARENT/10.94.206.34 text/html

Make sure you are not denying caching of query URLs (cache directive),
and that there is a refresh_pattern with a min age.

The best way to test is to use squidclient, both to Squid and the web
server. This will show you exactly what is going on with no mangling of
the HTTP headers what so ever.

Regards
Henrik

Received on Wed Jul 09 2008 - 13:12:38 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 09 2008 - 12:00:03 MDT