You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2010/03/01 17:40:06 UTC
[jira] Closed: (SLING-1267) Get metadata of script only once, get
input stream lazily
[ https://issues.apache.org/jira/browse/SLING-1267?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-1267.
-----------------------------------
> Get metadata of script only once, get input stream lazily
> ---------------------------------------------------------
>
> Key: SLING-1267
> URL: https://issues.apache.org/jira/browse/SLING-1267
> Project: Sling
> Issue Type: Improvement
> Components: Scripting
> Affects Versions: Scripting Core 2.0.8
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: Scripting Core 2.0.10
>
>
> 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
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.