Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 39879 invoked by uid 500); 25 Feb 2003 11:51:18 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 39866 invoked from network); 25 Feb 2003 11:51:18 -0000 Received: from mail.s-und-n.de (212.8.217.2) by daedalus.apache.org with SMTP; 25 Feb 2003 11:51:18 -0000 Received: from mail.s-und-n.de (localhost [127.0.0.1]) by mail2.s-und-n.de (postfix) with ESMTP id BDBA492902 for ; Tue, 25 Feb 2003 12:51:16 +0100 (CET) Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id ED85391600 for ; Tue, 25 Feb 2003 12:51:15 +0100 (CET) Received: from hw0386 ([10.10.2.65]) by notes.sundn.de (Lotus Domino Release 5.0.8) with SMTP id 2003022512511507:2388 ; Tue, 25 Feb 2003 12:51:15 +0100 From: "Carsten Ziegeler" To: Subject: RE: CachingProcessingPipeline: new Expires code Date: Tue, 25 Feb 2003 12:51:38 +0100 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: <3E5A4361.10801@apache.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 25.02.2003 12:51:15, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 5.0.8 |June 18, 2001) at 25.02.2003 12:51:16, Serialize complete at 25.02.2003 12:51:16 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Gianugo Rabellino [mailto:gianugo@apache.org] > Sent: Monday, February 24, 2003 5:08 PM > To: cocoon-dev@xml.apache.org > Subject: Re: CachingProcessingPipeline: new Expires code > > > Carsten Ziegeler wrote: > > > I would say: commit it and we (I?) can review it. > > Done. Fire at will. :-) > > Two things to consider and still on my TODO: > > 1. I understand from AbstractCachingProcessingPipeline that a cache > entry is not going to be built if the generator is not cacheable. Also, > the cache process stops at the first non cachable component in the > pipeline. If that is the case (and indeed it makes sense) Yes, exactly, this is the way it works. >, then some > more changes are needed to take into account that an expires header is > present: if so, there should be a way to both generate the key and cache > the output and to update/remove entries from the cache if the expires > header is changed or removed from the pipeline. What would be the best > way to do that? I'm thinking about having an object that generates key > on behalf of non cachable components, would that be enough? Hmm, I haven't looked yet into your code. What happens now if an expires date is set, but the pipeline does not have a cacheable generator? Carsten