This is a discussion on Help with refresh_pattern? - squid ; Hello all, 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 ...
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
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
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.
configure options: '--bindir=/usr/local/sbin'
'--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-external-acl-helpers=ip_user session unix_group wbinfo_group'
'--enable-storeio=ufs diskd null coss' '--disable-carp'
'--disable-wccp' '--disable-ident-lookups' '--enable-kqueue'
'i386-portbld-freebsd6.1' 'LDFLAGS=' 'CFLAGS=-O2 -fno-strict-aliasing
-pipe ' 'CPPFLAGS=' 'host_alias=i386-portbld-freebsd6.1'