Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 17113 invoked from network); 19 Aug 2004 13:47:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 19 Aug 2004 13:47:12 -0000 Received: (qmail 77062 invoked by uid 500); 19 Aug 2004 13:46:58 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 77013 invoked by uid 500); 19 Aug 2004 13:46:57 -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 76999 invoked by uid 99); 19 Aug 2004 13:46:57 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [212.8.217.2] (HELO mail.s-und-n.de) (212.8.217.2) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 19 Aug 2004 06:46:55 -0700 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id 1692A19F652 for ; Thu, 19 Aug 2004 15:46:53 +0200 (CEST) Received: from hw0386 ([10.10.2.96]) by notes.sundn.de (Lotus Domino Release 6.5) with ESMTP id 2004081915462296-22198 ; Thu, 19 Aug 2004 15:46:22 +0200 From: "Carsten Ziegeler" To: Subject: RE: CachingURICoplet versus URICoplet and Refresh Date: Thu, 19 Aug 2004 15:47:27 +0200 Organization: S&N AG MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.6353 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Thread-Index: AcSFv5d8jnBGkG4BRbWebNjfi9sCkQAMxHvw In-Reply-To: <1092901086.7000.7.camel@localhost.localdomain> X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 19.08.2004 15:46:22, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 19.08.2004 15:46:23, Serialize complete at 19.08.2004 15:46:23 Message-ID: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > > Question1: > I'd like to know if there is another way to refresh > CachingURICoplet than setting bookmarks or cl:link evrywhere, > or even invalidate the cache. Maybe for that purpose i should > use URICoplets ? > You can invalidate the cache "manually" from within flow or any component using Java. > Question2: > Until now i adopted this rule : if i need CForms + Flow > (continuation) or internal links that need to be transformed > by portal-html-eventlink transformer i use CachingURI > Coplets, otherwise i use URI Coplets. Is this a right idea ? > This depends, but basically: yes. The caching uri coplet is a must for cforms + flow (or for just flow). It caches the content (or the view) of the coplet until an action is performed in this coplet. The uri coplet does not cache, so each time the page is displayed the content is fetched from the source again. If this is a heavy operation it might be wise to cache this content as well either using the cachinguricoplet or using a usual cocoon pipeline that uses the cocoon caching mechanism. HTH Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org