Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 27230 invoked from network); 26 Mar 2007 16:01:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Mar 2007 16:01:47 -0000 Received: (qmail 31893 invoked by uid 500); 26 Mar 2007 16:01:52 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 31836 invoked by uid 500); 26 Mar 2007 16:01:52 -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 List-Id: Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 31825 invoked by uid 99); 26 Mar 2007 16:01:52 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2007 09:01:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [68.230.240.46] (HELO eastrmmtao104.cox.net) (68.230.240.46) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Mar 2007 09:01:42 -0700 Received: from eastrmimpo02.cox.net ([68.1.16.120]) by eastrmmtao104.cox.net (InterMail vM.7.05.02.00 201-2174-114-20060621) with ESMTP id <20070326160121.BATI460.eastrmmtao104.cox.net@eastrmimpo02.cox.net> for ; Mon, 26 Mar 2007 12:01:21 -0400 Received: from [192.168.0.100] ([24.255.120.190]) by eastrmimpo02.cox.net with bizsmtp id fU1M1W00F46aSr40000000; Mon, 26 Mar 2007 12:01:21 -0400 Message-ID: <4607EE4C.9090604@reverycodes.com> Date: Mon, 26 Mar 2007 12:01:16 -0400 From: Vadim Gritsenko User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: Moving reduced version of CachingSource to core | Configuration issues References: <4607B259.6010505@apache.org> In-Reply-To: <4607B259.6010505@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Oops, should have read it in full... Reinhard Poetz wrote: > I can think of setting the expires parameter to -1 and using a > background-refresher but this seems to be overly complex for this simple task. Yes async will do the trick. And IMHO it should be Ok to alter sync implementation to keep previous response if new one can't be obtained. > I would also like to move the basic functionality of the CachingSource > into some core module and only have an extended versions (event-cache > support, async updating) of it in the reposistory block. I seems odd to > me that I have to add a dependency to the repository block, the > event-cache block, the jms block and the cron block I do not think it has any dependencies on cron, where do you see it? > just for this. Any comments before I start a vote on this? Async is a basic functionality which must be in core, IMHO. But I completely agree that event-cache and jms should be optional. I was planning on doing this refactoring but did not manage to do it so far. Vadim