Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 83500 invoked from network); 2 Sep 2003 06:26:58 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 2 Sep 2003 06:26:58 -0000 Received: (qmail 32638 invoked by uid 500); 2 Sep 2003 06:26:28 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 32606 invoked by uid 500); 2 Sep 2003 06:26:27 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 32575 invoked from network); 2 Sep 2003 06:26:27 -0000 Received: from unknown (HELO mail.s-und-n.de) (212.8.217.2) by daedalus.apache.org with SMTP; 2 Sep 2003 06:26:27 -0000 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id 40D26CC7F4 for ; Tue, 2 Sep 2003 07:54:36 +0200 (CEST) Received: from hw0386 ([10.10.2.46]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2003090207541457:19050 ; Tue, 2 Sep 2003 07:54:14 +0200 From: "Carsten Ziegeler" To: Subject: RE: cvs commit: cocoon-2.1/src/scratchpad/src/org/apache/cocoon/components readme.txt Date: Tue, 2 Sep 2003 07:56:48 +0200 Message-ID: MIME-Version: 1.0 X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <3F536870.4040807@apache.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 02.09.2003 07:54:14, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 02.09.2003 07:54:15, Serialize complete at 02.09.2003 07:54:15 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Gianugo Rabellino wrote: > > This is really juicy Carsten! A huge step ahead for mission-critical > Cocoon applications, I've skimmed the readme and it looks definitely > neat. Thanks! > > A couple of quick questions: > > 1. does your implementation update the expires parameters? From a quick > look at the code I'm not sure that it implements the following use case: > > - admin sets an expires of 1 day; > - user hits a resource; > - admin changes expires to 1 hour; > - user hits a resource. > > what will be the expires value in cache? Yes, you're right - it's not updated. The expires value is still 1 day until it expires. From that on it's one hour. > > 2. I've seen that the mod_expires syntax has gone away. Wouldn't it be > the case to keep it, at least for backward compatibility (not to mention > that it's faster to write "1 day 2 hours" rather than 93600. > Hmm, yes - I didn't use the syntax because you have to specify "now" or "access" in front which I personally don't like. But without that, yes your suggestion makes sense, so +1. > Anyway, really good job. :-) > Thanks! Carsten