spring-framework / org.springframework.web.servlet.view.xslt / XsltView / setCacheTemplates

setCacheTemplates

open fun setCacheTemplates(cacheTemplates: Boolean): Unit

Turn on/off the caching of the XSLT Templates instance.

The default value is "true". Only set this to "false" in development, where caching does not seriously impact performance.