Re: [squid-users] Cache authenticated data

From: Amos Jeffries <[email protected]>
Date: Thu, 24 Jan 2008 21:47:15 +1300

Tomer Brand wrote:
> Hi,
>
> I am trying to use SQUID to cache IIS data.
> The IIS is configured to use basic authentication. I set the response header with:
> Cache Control -> public, must-revalidate
> And then changed it to:
> Cache Control -> public, no-cache
>
> My SQUID cache_peer is:
> cache_peer images.test.com parent 8050 0 originserver default login=PASS
>
> I run into two issues:
> 1. Only the first request is asked to authenticate, the second one simply get the data.
> 2. I don't see any new data in the cache directory.
>
> What am I missing?

no-cache == no don't save AKA new data in cache dir.
must-revalidate == always check for new, even if old gets sent.

Check your authenticate_ttl and authenticate_ip_ttl values are short
enough for your testing.

Amos

-- 
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.
Received on Thu Jan 24 2008 - 01:47:19 MST

This archive was generated by hypermail pre-2.1.9 : Fri Feb 01 2008 - 12:00:05 MST