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

Cache Script Resolution

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Servlets Resolver 2.0.6
    • Servlets Resolver 2.0.8
    • Servlets
    • None

    Description

      The script resolution scans for each invocation several places in the resource tree which can be - depending on this tree - very time consuming. In our applications a third of the request is spent on script resolution.
      Therefore a cache increases the response time.
      With the recent changes in the script resolver (admin session, changes to the resource collector), the resource collector object can be used as a cache key while the servlet can be directly used as the cache value.
      The cache is invalided whenever a resource in the script locations changes

      Attachments

        Activity

          People

            cziegeler Carsten Ziegeler
            cziegeler Carsten Ziegeler
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: