Search squid archive

Help with refresh_pattern?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux