Facebook Connector 12.13

# cache_result

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.

Syntax: | `function cache_result([enable])`
Inputs: | enable (optional Boolean)
Outputs: | [NONE]
Usage: | Any function that is documented to return XPath expressions (No effect if used elsewhere).
See also: |

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Facebook Connector 12.13

Topic Title: cache_result