Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 90307 invoked from network); 19 May 2004 08:51:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 May 2004 08:51:07 -0000 Received: (qmail 38164 invoked by uid 500); 19 May 2004 08:50:51 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 38060 invoked by uid 500); 19 May 2004 08:50:50 -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 37991 invoked by uid 98); 19 May 2004 08:50:50 -0000 Received: from JPARIS@sadiel.es by hermes.apache.org by uid 82 with qmail-scanner-1.20 (clamuko: 0.70. Clear:RC:0(62.81.202.65):. Processed in 0.282751 secs); 19 May 2004 08:50:50 -0000 X-Qmail-Scanner-Mail-From: JPARIS@sadiel.es via hermes.apache.org X-Qmail-Scanner: 1.20 (Clear:RC:0(62.81.202.65):. Processed in 0.282751 secs) Received: from unknown (HELO CORREO.sadiel.es) (62.81.202.65) by hermes.apache.org with SMTP; 19 May 2004 08:50:49 -0000 Received: from ppcjparis ([172.16.2.174]) by CORREO.sadiel.es with Microsoft SMTPSVC(5.0.2195.6713); Wed, 19 May 2004 10:50:31 +0200 Message-ID: <005c01c43d7e$584e8110$ae0210ac@sadiel.es> From: =?iso-8859-1?Q?Jos=E9_Ignacio_Par=EDs_Prieto?= To: Subject: CInclude caching in pipelines Date: Wed, 19 May 2004 10:50:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-OriginalArrivalTime: 19 May 2004 08:50:31.0046 (UTC) FILETIME=[57256A60:01C43D7E] X-Spam-Rating: hermes.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hello, I,ve 2 questions about CInclude and caching: - it seems to implement the CacheableProcessingComponent interface, in order to support caching in a pipeline, but, looking through the code, the "getKey" method ALWAYS RETURN "1" for all instances of the component. It's supossed that the key returned must be unique for each different result of the cinclude transformation. is that ok? - moreover, this caching support is only activated if the parameter "support-caching" is set to true (look at the setup method), which is not documented. Are those true or am I losing something? I'm pretending to support the "If-modified-since" http header for pipelines. It works for those which CInclude caching activated in that way, but I think that something is wrong with the "1" key. wouldn't be better return the src URI in that method? Regards Jose