[ http://issues.apache.org/jira/browse/COCOON-1712?page=all ] Jean-Baptiste Quenot closed COCOON-1712: ----------------------------------------
Resolution: Duplicate > Speedup loading of profiles > --------------------------- > > Key: COCOON-1712 > URL: http://issues.apache.org/jira/browse/COCOON-1712 > Project: Cocoon > Type: Improvement > Components: Blocks: Portal > Versions: 2.1.9-dev (current SVN) > Reporter: Jean-Baptiste Quenot > Attachments: 20051212-portal-MapProfileLS > > When loading profiles (using eg AuthenticationProfileManager) portal parses > the profiles using Castor, and this can be very slow. The attached patch > caches the result in a HashMap for subsequent invocations to avoid loading > them every time. Note that the key of the object in the map is > source.getURI(), which may be different from the variable "uri" as > resolveURI() may return the same result for different values of "uri". > This bug depends on http://issues.apache.org/jira/browse/COCOON-1708 Allow > CopletInstanceDataManager to be cloneable, because coplet instances are > cloned to ensure that every user gets its own copy of the coplets. -- 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