On sön, 2007-11-25 at 22:13 +0900, Adrian Chadd wrote: > Here's my proposal for refresh pattern changes to squid-2.HEAD; perhaps > Squid-3 too down the track. >
> +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. As discussed earlier in private max-age should be the normal one.. and additionally it doesn't apply to ftp or gopher.. (neither have query urls), and a little comments to why things is the way they are.. So make that +# Enable caching of FTP and Gopher. Neither provides any explicit expiry refresh_pattern ^ftp: 1440 20% 10080 refresh_pattern ^gopher: 1440 0% 1440 +# query URL-s MUST have a 0 min-age and LMT-factor as they are dynamic +refresh_pattern cgi-bin 0 0% 4320 +refresh_pattern \? 0 0% 4320 +# Default rule for everything else refresh_pattern . 0 20% 4320 Regards Henrik
signature.asc
Description: This is a digitally signed message part
