Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.8
-
None
Description
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.
Attachments
Issue Links
- is related to
-
WW-1661 Implementation of Freemarker caching for Struts2
- Closed