Facebook Connector 25.3
Facebook Connector Help

# 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 2025 Open Text
Version 25.3 | Last updated July 2025

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: Knowledge Discovery Facebook Connector 25.3

Topic Title: cache_result