[ 
https://issues.apache.org/jira/browse/SLING-9949?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Karl Pauls resolved SLING-9949.
-------------------------------
    Resolution: Fixed

> Speed-up 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
>            Priority: Major
>             Fix For: Servlets Resolver 2.7.12
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to