Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Scripting Core 2.0.8
-
None
Description
As the DefaultSlingScript might be cached (by the servlet resolver) the various metadata like the script name, script encoding should only be fetched once on creation and not on every use.
In addition as most script engines don't use the reader to read the script, we should use a lazy input stream