Hi All, With the fix of bug [0], sling discards only those ResourceBundle which becomes invalid. But as per [1], if path of the translation which has been changed does not come under the "languageRootPaths" that are already cached, cache of resource bundle is invalidated. Hence causing the reloading of all resource bundle. Can someone please explain, why this behavior is followed. Is there any fail case, if we do not invalidate cache if path of the translation does not come under "languageRootPaths".
[0] https://issues.apache.org/jira/browse/SLING-4795 [1] https://github.com/apache/sling/blob/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java#L191
