Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Implemented
-
2.0.3
-
None
-
None
Description
Struts 2 allows the use of custom settings for Freemarker by providing a freemarker.properties file. Due to the fact the Struts 2 uses Freemarker internally to render its (UI) components, we cannot assume a Struts 2 user to be aware of the potential benefit by providing custom cache and template checking delay settings (esp. when he or she uses a different view technology).
It would be nice to provide a sensible default for the TemplateUpdateDelay setting when not in devMode (where constant reloading is allowed).
A better update delay would benefit the UI tags, since they can be assumed to be fairly static.
Also, the witespace setting gets overruled in the code after the custom settings have been loaded.