karj wrote:
> Dear Expert,
>
> I'm using:
> - Squid Cache: Version Squid Cache: Version 2.7.STABLE6
>
> My question is.
>
> When i put the following headers to (my iis 6.0 )web site
> cache-control
> stale-if-error=1800, stale-while-revalidate=600
>
> squid always misses asp pages
>
> here is the refresh pattern from squid
> refresh_pattern -i www\.xxxxxxxx\.xxx\/ 180 100% 320 reload-into-ims
> override-expire ignore-no-cache ignore-private override-lastmod
> ignore-reload
>
> thanks in advance
>
The purpose of stale-while-* is to permit your site to be provided from
cache after it goes stale while it is updated. To a maximum of 600
seconds past its expiry time.
The purpose of those ignore-* an override-* settings it to fool the
proxy into thinking objects are not-stale for far longer than they are
reliable. 320 minutes past their actual expiry time to be exact.
Figure that for logic ... 600 sec > 320 min ??
Anyway the stale-* should not be having any effect on your cache
provided objects. They are well over 600 sec defunct by the time Squid
acknowledges they are stale and starts revalidation.
2.7.STABLE6 is very old now. Please try the 2.7.STABLE9 release. This
may be a fixed bug already.
Amos
-- Please be using Current Stable Squid 2.7.STABLE9 or 3.1.5Received on Tue Jul 06 2010 - 12:13:03 MDT
This archive was generated by hypermail 2.2.0 : Fri Jul 09 2010 - 12:00:04 MDT