You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2012/07/27 16:12:34 UTC

[jira] [Comment Edited] (SLING-2521) Allow disabling sling:alias support per configuration

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

Carsten Ziegeler edited comment on SLING-2521 at 7/27/12 2:10 PM:
------------------------------------------------------------------

Thanks Antonio, can you please explain how your test actually looks like/what it does? (how many aliases are created, which requests are executed etc.)

                
      was (Author: cziegeler):
    Thanks Antonio, can you please explain how your test actually looks like/what it does? (how many aliases are created, which requests are executed etc.) Obviously we should 

                  
> Allow disabling sling:alias support per configuration
> -----------------------------------------------------
>
>                 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira