Karl Pauls created SLING-9949:
---------------------------------
Summary: Speed bundled scripts resolution
Key: SLING-9949
URL: https://issues.apache.org/jira/browse/SLING-9949
Project: Sling
Issue Type: Improvement
Components: Scripting
Affects Versions: Servlets Resolver 2.7.10
Reporter: Karl Pauls
Assignee: Karl Pauls
Fix For: Servlets Resolver 2.7.12
When resolving bundled scripts the resolver is currently parsing the metadata
several times. That can be avoided using caching the parsed result.
Furthermore, the bundled script servlet is currently calculating the providers
on each request. That can be avoided by doing the calculation one time when it
is created. Additionally, it should unroll servlet exceptions instead of
wrapping them again in a servlet exception.
Finally, the MergingResourceProvider does right now construct its resource tree
completely from scratch every time a servlet is added - that can be avoided by
just adding the servlet to the existing tree.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)