[ https://issues.apache.org/jira/browse/SLING-4241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved SLING-4241. -------------------------------------- Resolution: Fixed Thanks for providing the patch. I have applied it in Rev. 1645656 > Improve Sightly JS Provider performance > --------------------------------------- > > Key: SLING-4241 > URL: https://issues.apache.org/jira/browse/SLING-4241 > Project: Sling > Issue Type: Improvement > Components: Scripting > Reporter: Radu Cotescu > Assignee: Felix Meschberger > Fix For: Scripting Sightly JS Use Provider 1.0.0 > > Attachments: SLING-4241.patch > > > The Sightly JavaScript Use Provider can be optimised such that its JavaScript > context is run only for JS Use-API scripts, instead of creating the JS > context for every Sightly request. The only downside of such an optimisation > is that the values provided by the {{SlyBindingsValuesProvider}} will not be > available to be used directly in Sightly scripts, making them available only > for JS Use-API objects. -- This message was sent by Atlassian JIRA (v6.3.4#6332)