Open topic with navigation
Many of the functions can return purely constant results containing constant strings and XPaths. Provided the function has no side effects and always returns the same result, calling
cache_result([true]) will ensure the function is called only once to improve performance. Calling
cache_result(false) has no effect (is the default behavior) but can be useful to make it clear where caching must be disabled for a function.
|Inputs:||enable (optional Boolean)|
|Usage:||Any function that is documented to return XPath expressions (No effect if used elsewhere).|