[ https://issues.apache.org/jira/browse/SLING-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-2045. -------------------------------------- Resolution: Fixed Simplified JcrResourceBundle in Rev. 1088573 to fully load the resources on instantiation and remove all on-demand loading support and functionality. > JcrResourceBundle should cache the key as its value if the query returns no > resource > ------------------------------------------------------------------------------------ > > Key: SLING-2045 > URL: https://issues.apache.org/jira/browse/SLING-2045 > Project: Sling > Issue Type: Bug > Components: Extensions > Affects Versions: I18n 2.0.4 > Reporter: Felix Meschberger > Assignee: Felix Meschberger > Fix For: I18n 2.0.6 > > > The JcrResourceBundle.handleObject(String) method uses a query to find a > resource for the key, if it has not cached it yet. If such a resource is > found, it is cached and returned. If no resource is found the key is returned > but not put into the cache. > On repeated query of the same key the same query is run over and over. This > causes a majore performance hit. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira