[ 
https://issues.apache.org/struts/browse/WW-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Musachy Barroso updated WW-2012:
--------------------------------

    Affects Version/s: 2.0.8
        Fix Version/s: 2.1.0
             Assignee: Musachy Barroso

> Freemarker caching of BeanWrapper models
> ----------------------------------------
>
>                 Key: WW-2012
>                 URL: https://issues.apache.org/struts/browse/WW-2012
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Configuration
>    Affects Versions: 2.0.8
>            Reporter: Andrea Vettori
>            Assignee: Musachy Barroso
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> It would be nice to have a configuration option (in struts.properties, for 
> example) to enable freemarker caching of beanwrapper models. It's off by 
> default and in my app helped reducing garbage memory allocation...
> Assuming myConfiguration is Freemarker Configuration
> ((BeansWrapper)myConfiguration.getObjectWrapper()).setUseCache(true)
> can be used to enable the cache.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to