You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2016/01/03 18:39:39 UTC
[jira] [Commented] (DOXIASITETOOLS-143) reuse Velocity engine
instead of creating one on each processed page and every site.vm decoration
[ https://issues.apache.org/jira/browse/DOXIASITETOOLS-143?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15080485#comment-15080485 ]
Michael Osipov commented on DOXIASITETOOLS-143:
-----------------------------------------------
Are you certain about this? {{DefaultVelocityComponent}} creates the engine once in {{initialize()}} and stores it. Am I wrong?
> reuse Velocity engine instead of creating one on each processed page and every site.vm decoration
> -------------------------------------------------------------------------------------------------
>
> Key: DOXIASITETOOLS-143
> URL: https://issues.apache.org/jira/browse/DOXIASITETOOLS-143
> Project: Maven Doxia Sitetools
> Issue Type: Wish
> Components: Site renderer
> Affects Versions: 1.6
> Reporter: Hervé Boutemy
>
> reusing Velocity engine seems natural, at least to reuse parsed site.vm template
> currently, on each page decoration, a new Velocity engine is recreated: this does not seem to cause major issues (like performance), then I don't know if this change is risky for not much benefit
> but at least, let's discuss about it
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)