Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 80341 invoked from network); 3 Oct 2010 00:18:01 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Oct 2010 00:18:01 -0000 Received: (qmail 78423 invoked by uid 500); 3 Oct 2010 00:18:00 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 78376 invoked by uid 500); 3 Oct 2010 00:17:59 -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 78368 invoked by uid 99); 3 Oct 2010 00:17:59 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Oct 2010 00:17:59 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of minfrin@sharp.fm designates 72.32.122.20 as permitted sender) Received: from [72.32.122.20] (HELO chandler.sharp.fm) (72.32.122.20) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Oct 2010 00:17:50 +0000 Received: from chandler.sharp.fm (localhost [127.0.0.1]) by chandler.sharp.fm (Postfix) with ESMTP id 9C3322C8ADE for ; Sat, 2 Oct 2010 19:17:29 -0500 (CDT) Received: from [10.0.0.251] (87-194-125-18.bethere.co.uk [87.194.125.18]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client did not present a certificate) (Authenticated sender: minfrin@sharp.fm) by chandler.sharp.fm (Postfix) with ESMTP id 421472C8AD9 for ; Sat, 2 Oct 2010 19:17:29 -0500 (CDT) Message-Id: <89469DA8-D14F-4426-A602-A7EDE9A91E12@sharp.fm> From: Graham Leggett To: dev@httpd.apache.org Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: mod_cache: Setting the base URL of the cache key Date: Sun, 3 Oct 2010 02:17:27 +0200 X-Mailer: Apple Mail (2.936) X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org Hi all, When caches sit behind load balancers, the server might be called http://node 567:8080/, while you might want to cache the entities using keys derived from the public endpoint http://example.com/. To make this possible, I plan a CacheKeyBaseURL, which allows you to override the scheme, hostname and port of cached URLs in the reverse proxy case. This allows you to keep your cache entries consistent with one another, and allows you to delete a single URL entry across a cluster of caches. Regards, Graham --