Disabling Caching for Xpath Expressions
While running an XPath expression, the expression string needs to be parsed and compiled. The result of this compiled object is cached so that repeated expressions do not need to be compiled again. By default, caching is enabled.
In some cases, XPath expressions are dynamic in nature and every single one of them does not need to be cached to avoid excessive memory usage. You can disable caching of XPath expressions by setting the com.tibco.xpath.cache.disable
property to true
in the be-engine.tra
file located at BE_HOME/bin
.