Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 25237 invoked from network); 30 Sep 2010 13:15:08 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 30 Sep 2010 13:15:08 -0000 Received: (qmail 79260 invoked by uid 500); 30 Sep 2010 13:15:08 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 78643 invoked by uid 500); 30 Sep 2010 13:15:04 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 78633 invoked by uid 99); 30 Sep 2010 13:15:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 13:15:03 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [130.239.18.156] (HELO mail.acc.umu.se) (130.239.18.156) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Sep 2010 13:14:57 +0000 Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id B72A4A09 for ; Thu, 30 Sep 2010 15:14:36 +0200 (MEST) X-Virus-Scanned: amavisd-new at acc.umu.se Received: by mail.acc.umu.se (Postfix, from userid 12143) id 4605EA08; Thu, 30 Sep 2010 15:14:32 +0200 (MEST) Received: from localhost (localhost [127.0.0.1]) by mail.acc.umu.se (Postfix) with ESMTP id 44FBCA07 for ; Thu, 30 Sep 2010 15:14:32 +0200 (MEST) Date: Thu, 30 Sep 2010 15:14:32 +0200 (MEST) From: Niklas Edmundsson To: dev@httpd.apache.org Subject: Re: mod_cache: scoping directives to per directory/location In-Reply-To: <46568AE0-05DD-4E5A-A902-C8A3ACDF1F9E@sharp.fm> Message-ID: References: <46568AE0-05DD-4E5A-A902-C8A3ACDF1F9E@sharp.fm> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 30 Sep 2010, Graham Leggett wrote: > Hi all, > > In the case of some of the mod_cache and mod_disk_cache directives, there > isn't a reason to force these directives to be server wide, they can be per > location instead. These are mainly directives that control what goes into the > cache, like CacheStorePrivate, CacheStoreNoStore, and CacheMaxExpire. > > The criterion for this to be possible is that the directive must control what > goes into the cache, rather than what comes out. What comes out of the cache > is handled in the quick handler, and the directory and location walks are > bypassed, hiding the directives. +1 /Nikke -- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Niklas Edmundsson, Admin @ {acc,hpc2n}.umu.se | nikke@acc.umu.se --------------------------------------------------------------------------- Too rich for me. - O'Brien =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=