Re: proposed refresh_pattern changes to squid-2.HEAD

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 26 Nov 2007 00:47:59 +0100

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

Received on Sun Nov 25 2007 - 16:48:06 MST

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