You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2015/06/15 15:38:00 UTC

[jira] [Commented] (SLING-4795) Only discard the ResourceBundles if they are really invalid

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

ASF GitHub Bot commented on SLING-4795:
---------------------------------------

GitHub user kwin opened a pull request:

    https://github.com/apache/sling/pull/96

    SLING-4795 only invalidate affected JCR resource bundles

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kwin/sling SLING-4795-improve-i18n-cache-invalidation

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/sling/pull/96.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #96
    
----
commit 7453a394a2a659772a814c4a6f0161aef0efdfff
Author: Konrad Windszus <ko...@netcentric.biz>
Date:   2015-06-15T13:35:52Z

    SLING-4795 only invalidate affected JCR resource bundles

----


> Only discard the ResourceBundles if they are really invalid
> -----------------------------------------------------------
>
>                 Key: SLING-4795
>                 URL: https://issues.apache.org/jira/browse/SLING-4795
>             Project: Sling
>          Issue Type: Improvement
>          Components: Extensions
>    Affects Versions: i18n 2.4.4
>            Reporter: Konrad Windszus
>            Assignee: Konrad Windszus
>
> Currently on all changes on the JCR language nodes the full cache in {{JcrResourceBundleProvider}} becomes invalid.
> Since most of the changes won't change the actual locale or basename the invalidation could be improved so that only that {{JcrResourceBundle}} gets invalid, which is having the same locale/basename.



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