THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
As of FreeMarker 2.3.4, an alternative syntax is supported. This alternative syntax is great if you find that your IDE (especially IntelliJ IDEA) makes it difficult to work with the default syntax. You can read more about this syntax here.
Cache
You can enable FreeMarker cache mechanism by specifying below options in struts.xml:
- <constant name="struts.freemarker.mru.max.strong.size" value="250" /> - this option will be used by freemarker.cache.MruCacheStorage
- <constant name="struts.freemarker.templatesCache.updateDelay" value="1800" /> - default update cache interval (5 seconds)
- <constant name="struts.freemarker.templatesCache" value="true" /> - *DEPRECATED* this option will use a internal ConcurrentHashMap in FreemarkerTemplateEngine but not freemarker native cache
Settting devMode to true will disable cache and updateDelay immediately