]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
UPdated refresh pattern for dynamic pages
authorAmos Jeffries <squid3@treenet.co.nz>
Fri, 12 Feb 2010 00:30:46 +0000 (13:30 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Fri, 12 Feb 2010 00:30:46 +0000 (13:30 +1300)
This brings 3.0 into line with the more correct version already in 3.1.
It catches less false-postives on dynamic URLs.

src/cf.data.pre

index 03017a5ea2886bb0e53b2992e77a967d6994af25..dbdc29b38e62b0723cbaec6e444d7614abcf8079 100644 (file)
@@ -2624,10 +2624,10 @@ DOC_START
 
 Suggested default:
 NOCOMMENT_START
-refresh_pattern ^ftp:          1440    20%     10080
-refresh_pattern ^gopher:       1440    0%      1440
-refresh_pattern (cgi-bin|\?)   0       0%      0
-refresh_pattern .              0       20%     4320
+refresh_pattern ^ftp:                  1440    20%     10080
+refresh_pattern ^gopher:               1440    0%      1440
+refresh_pattern -i (/cgi-bin/|\?)      0       0%      0
+refresh_pattern .                      0       20%     4320
 NOCOMMENT_END
 DOC_END