Facebook Connector 24.2

# 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 2024 Open Text
Version 24.2 | Last updated March 2024

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL Facebook Connector 24.2

Topic Title: cache_result