From dev-return-54898-apmail-httpd-dev-archive=httpd.apache.org@httpd.apache.org Tue Sep 26 16:11:38 2006 Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 73503 invoked from network); 26 Sep 2006 16:11:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 26 Sep 2006 16:11:37 -0000 Received: (qmail 16846 invoked by uid 500); 26 Sep 2006 16:11:33 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 16789 invoked by uid 500); 26 Sep 2006 16:11:33 -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 16778 invoked by uid 99); 26 Sep 2006 16:11:33 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Sep 2006 09:11:33 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=minfrin@sharp.fm; spf=pass X-ASF-Spam-Status: No, hits=3.2 required=5.0 tests=RCVD_IN_BL_SPAMCOP_NET,RCVD_IN_SORBS_WEB Received-SPF: pass (idunn.apache.osuosl.org: domain sharp.fm designates 64.49.220.200 as permitted sender) Received: from [64.49.220.200] ([64.49.220.200:38543] helo=chandler.sharp.fm) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id CF/80-13661-33159154 for ; Tue, 26 Sep 2006 09:11:32 -0700 Received: from chandler.sharp.fm (localhost [127.0.0.1]) by chandler.sharp.fm (Postfix) with ESMTP id 3DE27E531F for ; Tue, 26 Sep 2006 11:11:29 -0500 (CDT) Received: from [172.24.77.142] (mtngprs4.mtn.co.za [196.11.241.43]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by chandler.sharp.fm (Postfix) with ESMTP id 7C714E5316 for ; Tue, 26 Sep 2006 11:11:26 -0500 (CDT) Message-ID: <4519512A.6030402@sharp.fm> Date: Tue, 26 Sep 2006 18:11:22 +0200 From: Graham Leggett User-Agent: Thunderbird 1.5.0.7 (Macintosh/20060909) MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Re: [PATCH] mod_disk_cache working LFS (filecopy) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Niklas Edmundsson wrote: > * Realising that a file is a file and can be copied as such, without > reading the whole thing into memory first. > * When a file is cached by copying, replace the brigade with a new one > refering to the cached file so we don't have to read the file from > the backend again when sending a response to the client. As I read the code, the copy is completed before an attempt is made to deliver the copy to the network. This should in theory stop a slow initial client from holding up faster following clients, if the caching is still "in transit". Is this correct? Regards, Graham --