[ 
https://issues.apache.org/jira/browse/SLING-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15356899#comment-15356899
 ] 

Konrad Windszus commented on SLING-5708:
----------------------------------------

Yes, the inheritance is known, therefore one could improve invalidation here, 
but in the case the dictionary is not yet in the cache, it is hard and cost 
intensive to figure out its base name and locale (which would be required to 
also invalidate dependent resource bundles). So I am really not sure this is 
worth the effort.

> discarding ResourceBundle of all locale
> ---------------------------------------
>
>                 Key: SLING-5708
>                 URL: https://issues.apache.org/jira/browse/SLING-5708
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: i18n 2.4.6
>            Reporter: Ankit Agarwal
>            Assignee: Konrad Windszus
>
> After fix for SLING-4795 was included. 
> Only ResourceBundle of locale which has been changed will be discarded. 
> But this works this way only if, ResourceBundle of locale which has been 
> changed is already available in ResourceBundle cache.
> If ResourceBundle cache does not have ResourceBundle of locale which has been 
> has been , Complete Cache is discarded. Is this a correct behaviour ? 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to