Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 8596 invoked from network); 21 Jan 2007 13:28:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Jan 2007 13:28:30 -0000 Received: (qmail 4388 invoked by uid 500); 21 Jan 2007 13:28:34 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 4334 invoked by uid 500); 21 Jan 2007 13:28:34 -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 4322 invoked by uid 99); 21 Jan 2007 13:28:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jan 2007 05:28:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [195.54.107.73] (HELO mxfep02.bredband.com) (195.54.107.73) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 21 Jan 2007 05:28:24 -0800 Received: from ironport.bredband.com ([195.54.107.82] [195.54.107.82]) by mxfep02.bredband.com with ESMTP id <20070121132800.JCGN2832.mxfep02.bredband.com@ironport.bredband.com> for ; Sun, 21 Jan 2007 14:28:00 +0100 Received: from c-7e7be255.06-2033-73746f12.cust.bredbandsbolaget.se (HELO [85.226.123.126]) ([85.226.123.126]) by ironport.bredband.com with ESMTP; 21 Jan 2007 14:28:00 +0100 Message-ID: <45B36A63.1040805@qbrick.com> Date: Sun, 21 Jan 2007 14:28:03 +0100 From: Fredrik Widlund User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: mod_cache+mod_rewrite behaviour References: <3B21A253728EA247A10A692547A271530E7548@EITO-MBX03.internal.vodafone.com> <45B0ABD5.1020807@qbrick.com> <45B36860.3060705@apache.org> In-Reply-To: <45B36860.3060705@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org I wrote a patch friday, had a few minutes over to test it and it seemed to work fine. Of course it's a minimal patch, but I'll double check it tomorrow anyway, and try to convince you guys to accept it. :) Kind regards, Fredrik Widlund Ruediger Pluem skrev: > On 01/19/2007 05:49 PM, Scott MacVicar wrote: > > >> I already have a patch that we're using in production, attached are >> patches for the 2.2 and trunk. >> >> I was under the impression that there wasn't any interest in a patch >> like this hence I've not opened an issue to get this integrated into the >> main package. >> >> The option is CacheStoreQueryString. >> > > The option you introduce does not really solve Fredrik's problem. > Your patch allows responses to requests with a query string to be cached > if the response does not contain an Expires header. > As far as I understood him the responses get cached (they seem to contain > an Expires header), but he wants to avoid that the query string gets > incorporated in the cache key. E.g. > > /abc.html?x=a > /abc.html?x=b > > result in two different cache entities. He wants them to be the same, or more > generally he wants all adjustments that have been made to the URI / query string > during the processing to be considered for the generation of the cache key. > Currently the original URI / query string is used for this. > > BTW: Although it is not exactly the same your problem can be solved without > the patch by either: > > - Making the content handler (whether in httpd or somewhere else) set an Expires > header in the response. > - If this is not possible let mod_expires set one. > > Regards > > R�diger >