[ https://issues.apache.org/jira/browse/SLING-11908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joerg Hoh closed SLING-11908. ----------------------------- > Cache already resolved child resources of resource type resources > ----------------------------------------------------------------- > > Key: SLING-11908 > URL: https://issues.apache.org/jira/browse/SLING-11908 > Project: Sling > Issue Type: Task > Reporter: Joerg Hoh > Assignee: Joerg Hoh > Priority: Major > Fix For: Servlets Resolver 2.9.14 > > > The NamedScriptResourceCollector and the ResourceCollector both need to > resolve the child resources of all resolved resourcetypes to determine which > script/servlet to execute. > This is done over and over again; this overhead is unnecessary especially in > scenarios, where a lot selectors are bound to the default resourcetype, which > consistently need to get resolved, even if the default resourcetype is not > used in this resolution at all. > This complete list of child resources should be cached (once resolved) and > re-used instead of refetching it again. -- This message was sent by Atlassian Jira (v8.20.10#820010)