[
https://issues.apache.org/jira/browse/SLING-2045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu closed SLING-2045.
----------------------------------
> 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.1.0
>
>
> 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 was sent by Atlassian JIRA
(v6.4.14#64029)