Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 16714 invoked from network); 25 Jul 2006 02:59:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jul 2006 02:59:10 -0000 Received: (qmail 62368 invoked by uid 500); 25 Jul 2006 02:59:09 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 62321 invoked by uid 500); 25 Jul 2006 02:59:09 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 62310 invoked by uid 99); 25 Jul 2006 02:59:09 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 19:59:09 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [65.77.211.84] (HELO www2.kc.aoindustries.com) (65.77.211.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Jul 2006 19:59:08 -0700 Received: from www2.kc.aoindustries.com (www2.kc.aoindustries.com [65.77.211.84]) by www2.kc.aoindustries.com (8.13.1/8.13.1) with ESMTP id k6P2wlMD032008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 24 Jul 2006 21:58:47 -0500 Received: from localhost (localhost [[UNIX: localhost]]) by www2.kc.aoindustries.com (8.13.1/8.13.1/Submit) id k6P2wldE031927 for dev@forrest.apache.org; Mon, 24 Jul 2006 21:58:47 -0500 X-Authentication-Warning: www2.kc.aoindustries.com: indexgeo set sender to crossley@apache.org using -f Date: Tue, 25 Jul 2006 12:58:40 +1000 From: David Crossley To: dev@forrest.apache.org Subject: Re: [jira] Closed: (FOR-910) project DOAP file retrieved numerous times during docs generation Message-ID: <20060725025840.GM20958@igg.indexgeo.com.au> References: <13667100.1153710553847.JavaMail.jira@brutus> <18496530.1153735994251.JavaMail.jira@brutus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <18496530.1153735994251.JavaMail.jira@brutus> User-Agent: Mutt/1.4.2.1i X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Ross Gardler (JIRA) wrote: > > Ross Gardler closed FOR-910. > ---------------------------- > > Resolution: Fixed > Assignee: Ross Gardler > > The resource is retrieved so often because it is needed to build the navigation menus, which are on every page. Yes, however it is still strange that there are so many requests. There are only 33 html pages generated, yet 603 requests for doap.xml So perhaps there is another issue with this "projectDetails" stuff. > The resource, when retrieved from the remote location is not cached efficiently by Cocoon (I guess Cocoon does not check for validity of the remote file). > > I fixed this by adding a cache to the pipeline that generates the site.ml snippets from the DOAP files. The requests are cached for 10 minutes - should be plenty of time for even a large site build - but this will cause problems if trying to dynamically edit a DOAP. Thanks, that is a good demo of using a bit more of the Cocoon cache abilities. I am not sure if this is related, but on a Cocoon app i use a patch by Ugo Cei: Re: Supporting "conditional GET" in Cocoon http://thread.gmane.org/gmane.text.xml.cocoon.devel/59509 -David