[squid-users] Help with refresh_pattern?

From: David Olbersen <DOlbersen@dont-contact.us>
Date: Mon, 14 Aug 2006 10:05:29 -0700

Hello all,

This is a copy of a post I put up via Google Groups. Since I wasn't
subscribed at the time I'm not sure if it went through or not.

I've searched through the archives a bit and can't quite find what I'm
looking for. I'm trying to use some of the HTTP violating features
offered by squid. Specifically my refresh pattern is:

refresh_pattern . 10080 100% 20160 override-expire override-lastmod
ignore-no-cache ignore-private

I read that to mean that a document will be kept fresh for a minimum of
10080 minutes (7 days) and a maximum of 20160 minutes (14 days), or
100% of it's age. Further, any explicit Expire header should be
ignored, and the Last Modified header will be ignored if it falls out
of the range above. Finally, if a no-cache or private setting is used
in the Cache-control header, it will be ignored.

Have I got that mostly straight? Is there some fundamental problem with
my description?

I'm running squid 2.6.STABLE2 on FreeBSD 6.1. My configuration options
are below. You'll noticed I did not turn on --disable-http-violations.
Any help?

configure options: '--bindir=/usr/local/sbin'
'--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid'
'--libexecdir=/usr/local/libexec/squid'
'--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid'
'--enable-removal-policies=lru heap' '--disable-linux-netfilter'
'--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm
digest' '--enable-basic-auth-helpers=NCSA PAM MSNT SMB YP'
'--enable-digest-auth-helpers=password'
'--enable-external-acl-helpers=ip_user session unix_group wbinfo_group'
'--enable-ntlm-auth-helpers=SMB' '--enable-coss-aio-ops'
'--enable-storeio=ufs diskd null coss' '--disable-carp'
'--disable-wccp' '--disable-ident-lookups' '--enable-kqueue'
'--enable-err-languages=English'
'--enable-default-err-language=English' '--prefix=/usr/local'
'i386-portbld-freebsd6.1' 'LDFLAGS=' 'CFLAGS=-O2 -fno-strict-aliasing
-pipe ' 'CPPFLAGS=' 'host_alias=i386-portbld-freebsd6.1'
'build_alias=i386-portbld-freebsd6.1'
'target_alias=i386-portbld-freebsd6.1' 'CC=cc'

-- 
David Olbersen (x2152)
iGuard Engineer
St. Bernard Software
15015 Avenue of Sciences
San Diego, CA 92127 
Received on Mon Aug 14 2006 - 11:05:31 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:02 MDT