Cache Script Resolution
-----------------------
Key: SLING-1027
URL: https://issues.apache.org/jira/browse/SLING-1027
Project: Sling
Issue Type: New Feature
Components: Servlets Resolver
Affects Versions: Servlets Resolver 2.0.6
Reporter: Carsten Ziegeler
Assignee: Carsten Ziegeler
Fix For: Servlets Resolver 2.0.8
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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.