Return-Path: Delivered-To: apmail-lenya-user-archive@www.apache.org Received: (qmail 58703 invoked from network); 8 Feb 2006 19:17:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Feb 2006 19:17:59 -0000 Received: (qmail 82965 invoked by uid 500); 8 Feb 2006 19:17:57 -0000 Delivered-To: apmail-lenya-user-archive@lenya.apache.org Received: (qmail 82936 invoked by uid 500); 8 Feb 2006 19:17:57 -0000 Mailing-List: contact user-help@lenya.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@lenya.apache.org Delivered-To: mailing list user@lenya.apache.org Received: (qmail 82922 invoked by uid 99); 8 Feb 2006 19:17:56 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 11:17:56 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of josias.thoeny@wyona.com designates 195.226.6.68 as permitted sender) Received: from [195.226.6.68] (HELO mx1.wyona.com) (195.226.6.68) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Feb 2006 11:17:54 -0800 Received: from localhost ([127.0.0.1] helo=mail.wyona.com) by mx1.wyona.com with smtp (Exim 3.35 #1 (Debian)) id 1F6uom-0000UP-00 for ; Wed, 08 Feb 2006 20:17:32 +0100 Received: from 213.3.67.39 (SquirrelMail authenticated user josias) by mail.wyona.com with HTTP; Wed, 8 Feb 2006 20:17:32 +0100 (CET) Message-ID: <49359.213.3.67.39.1139426252.squirrel@mail.wyona.com> In-Reply-To: References: Date: Wed, 8 Feb 2006 20:17:32 +0100 (CET) Subject: Re: clear cache for a page or publication From: "Josias Thoeny" To: user@lenya.apache.org User-Agent: SquirrelMail/1.4.2 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N > Hi, > I've implemented the cocoon clear-cache for an instance of Lenya. This > is needed as a publication includes several page fragments using the > cinclude mechanism which do not "re-fresh" after editing. (a fragment > gets edited but the page served contains the cahced version of the > fragment.) The idea of the clear cache was to allow content editors > the ability to "refresh the page" after editing. > > However the clear cache clears the cache for all publications. This is a > bad thing. Has anyone limited the clear cache to a particular > publication or a particular page ? Hi Lee, Sorry, I don't know how to clear only one part of the cache... But I think it should be possible to get the updated page without deleting the cache. IIRC the cinclude transformer shouldn't do any caching unless it's explicitely configured to so, see also the section about caching in: http://cocoon.apache.org/2.1/userdocs/cinclude-transformer.html Maybe the caching happens in the pipeline which serves the fragments to be included? Would it be an option for you to set the pipeline to noncaching () ? If you find out where exactly the caching happens, it may give you a hint about what's going wrong. Josias > > Thanks in advance > > Lee C > > Clear cache implemented is : > > > src="org.apache.cocoon.acting.ClearCacheAction"/> > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org > For additional commands, e-mail: user-help@lenya.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org For additional commands, e-mail: user-help@lenya.apache.org