Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-2521

Improve performance of sling:alias lookups and/or provide the ability to disable this feature

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.1.0
    • Resource Resolver 1.0.0
    • JCR
    • None

    Description

      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.

      Attachments

        1. disabling-alias-performance.png
          25 kB
          Antonio Sanso
        2. SLING-2521.patch
          8 kB
          Justin Edelson
        3. SLING-2521-u1.patch
          8 kB
          Justin Edelson

        Issue Links

          Activity

            People

              justinedelson Justin Edelson
              fmeschbe Felix Meschberger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: