You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2012/08/27 21:42:08 UTC

[jira] [Commented] (SLING-2521) Improve performance of sling:alias lookups and/or provide the ability to disable this feature

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

Justin Edelson commented on SLING-2521:
---------------------------------------

Updated summary. The issue is not that this feature isn't desirable, but that the performance cost of it is too great.
                
> Improve performance of sling:alias lookups and/or provide the ability to disable this feature
> ---------------------------------------------------------------------------------------------
>
>                 Key: SLING-2521
>                 URL: https://issues.apache.org/jira/browse/SLING-2521
>             Project: Sling
>          Issue Type: New Feature
>          Components: JCR
>    Affects Versions: JCR Resource 2.1.0
>            Reporter: Felix Meschberger
>         Attachments: disabling-alias-performance.png
>
>
> The the JCR based ResourceResolver.resolve method currently support sling:alias properties on nodes to allow for resolution of translated URLs. This is potentially a very expensive operation particularly in the case of non existing resource.
> It should be analyzed whether (a) disabling sling:alias support has a measurable benefit on resource resolution (particularly when not finding a resource) and (b) whether it would be easy and simple to disable such support per configuration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira