Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
Patch
Description
Since SLING-3441, for every request, a new admin / privileged session is created in the SlingServletResolver. It is created before the script/servlet cache is checked, so in most cases when the cache is hit it is never used, but the cost of creating an extra session (which can vary, especially with concurrent traffic) is incurred.
The per thread script resolver can be created lazily instead of directly in the event to avoid this.