forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ross Gardler (JIRA)" <j...@apache.org>
Subject [jira] Closed: (FOR-910) project DOAP file retrieved numerous times during docs generation
Date Mon, 24 Jul 2006 10:13:14 GMT
     [ http://issues.apache.org/jira/browse/FOR-910?page=all ]

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.

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.

> project DOAP file retrieved numerous times during docs generation
> -----------------------------------------------------------------
>
>                 Key: FOR-910
>                 URL: http://issues.apache.org/jira/browse/FOR-910
>             Project: Forrest
>          Issue Type: Bug
>          Components: Plugin: input.projectInfo
>    Affects Versions: 0.8-dev
>            Reporter: David Crossley
>         Assigned To: Ross Gardler
>            Priority: Minor
>
> The ability to retrieve a project DOAP file to create "projectDetails" information pages
is retrieving the example  forrest descriptor numerous times. Throughout the build of the
projectInfo plugin's docs (130) it conducted requests for the remote doap.xml file a total
of 603 times.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message