Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 47149 invoked from network); 4 Mar 2005 10:16:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 4 Mar 2005 10:16:14 -0000 Received: (qmail 112 invoked by uid 500); 4 Mar 2005 10:16:02 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 99962 invoked by uid 500); 4 Mar 2005 10:16:02 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 99943 invoked by uid 99); 4 Mar 2005 10:16:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from smtp004.mail.ukl.yahoo.com (HELO smtp004.mail.ukl.yahoo.com) (217.12.11.35) by apache.org (qpsmtpd/0.28) with SMTP; Fri, 04 Mar 2005 02:15:59 -0800 Received: from unknown (HELO ?192.168.1.4?) (marc?salvetti@203.189.135.148 with plain) by smtp004.mail.ukl.yahoo.com with SMTP; 4 Mar 2005 10:15:56 -0000 Message-ID: <4228354C.3090302@notremanou.net> Date: Fri, 04 Mar 2005 17:15:40 +0700 From: Marc Salvetti User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: fr, en MIME-Version: 1.0 To: users@cocoon.apache.org Subject: Re: References: <42282CF0.9080703@juwimm.com> In-Reply-To: <42282CF0.9080703@juwimm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N personnaly, i checked for performance reasons (include of about 300 small xml files) 3 differents include method : -cinclude -xinclude -function document inside xsl my choice was finally the document function (under 1s against 2-4s for the transformers) hope this helps :) btw, once in a while, the server takes a few seconds to answer on this request (i guess it's cleaning the cache, but i don't really know). Does someone have an idea on how to fix this ? cheers Marc Michael Frankfurter a �crit : > hi there, > > i started playing around with the CIncludeTransformer an it's quite > cool, but there is a thing i don't understand: > > why isn't it possible to use "cached-include" and the attribute > "select" together? i took a look at the source and it is hard-coded to > ignore the attribute: > > cinclude:cached-include > > this.processCIncludeElement( > attr.getValue("",CINCLUDE_INCLUDE_ELEMENT_SRC_ATTRIBUTE), > null, > --> null, > null, > null, > this.cacheManager != null); > > cinclude:include > > this.processCIncludeElement( > attr.getValue("",CINCLUDE_INCLUDE_ELEMENT_SRC_ATTRIBUTE), > attr.getValue("",CINCLUDE_INCLUDE_ELEMENT_ELEMENT_ATTRIBUTE), > --> attr.getValue("",CINCLUDE_INCLUDE_ELEMENT_SELECT_ATTRIBUTE), > attr.getValue("",CINCLUDE_INCLUDE_ELEMENT_NS_ATTRIBUTE), > attr.getValue("",CINCLUDE_INCLUDE_ELEMENT_PREFIX_ATTRIBUTE), > false); > > why is it implemented in that way? or is there a way to mix it up? > > i would use xinclude instead of cinclude but this isn't cacheable > either :o( > > thanks, > micha f. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org