proposed refresh_pattern changes to squid-2.HEAD

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sun, 25 Nov 2007 22:13:40 +0900

Here's my proposal for refresh pattern changes to squid-2.HEAD; perhaps
Squid-3 too down the track.

Index: cf.data.pre
===================================================================
RCS file: /cvsroot/squid/squid/src/cf.data.pre,v
retrieving revision 1.440
diff -u -u -r1.440 cf.data.pre
--- cf.data.pre 15 Nov 2007 04:43:55 -0000 1.440
+++ cf.data.pre 25 Nov 2007 13:05:22 -0000
@@ -2742,11 +2742,6 @@
        NOT be cached.
 
        Default is to allow all to be cached
-NOCOMMENT_START
-#We recommend you to use the following two lines.
-acl QUERY urlpath_regex cgi-bin \?
-cache deny QUERY
-NOCOMMENT_END
 DOC_END
 
 NAME: refresh_pattern
@@ -2833,6 +2828,8 @@
 
 Suggested default:
 NOCOMMENT_START
+refresh_pattern cgi-bin 0 0% 0
+refresh_pattern \? 0 0% 0
 refresh_pattern ^ftp: 1440 20% 10080
 refresh_pattern ^gopher: 1440 0% 1440
 refresh_pattern . 0 20% 4320

Comments? I'll commit this in a couple days unless someone points out
the flaw in my plan.

Adrian
Received on Sun Nov 25 2007 - 06:08:55 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:05 MST