Re: caching "dynamic" content

From: Duane Wessels <wessels@dont-contact.us>
Date: Wed, 14 Nov 2007 18:40:08 -0700 (MST)

On Thu, 15 Nov 2007, Adrian Chadd wrote:

> Ideally I'd like to cache cgi-bin / ? content if cache information is
> given (max-age, Expires, etc; henrik knows more about the options than

right.

>
> I'm not sure my current refresh patterns handle this:
>
> refresh_pattern ^ftp: 1440 20% 10080
> refresh_pattern ^gopher: 1440 0% 1440
> refresh_pattern cgi-bin 0 0% 0
> refresh_pattern \? 0 0% 0
> refresh_pattern . 0 20% 4320

You also have to remove these:

         #We recommend you to use the following two lines.
         acl QUERY urlpath_regex cgi-bin \?
         cache deny QUERY

Thats what I'm supporting/suggesting: remove the default 'cache deny'
lines and add some default refresh_pattern lines.

Duane W.
Received on Wed Nov 14 2007 - 18:40:08 MST

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