Skip to content

Caching

Caching is used to cache the results of a script, flow, flow step, or app inline scripts for a specified number of seconds, thereby reducing the need for redundant computations when re-running the same step with identical input.

When you configure caching, Orvanta stores the result in a cache for the duration you specify. If the same runnable is re-triggered with the same input within this duration, Orvanta instantly retrieves the cached result instead of re-computing it.

This feature can significantly improve the performance of your scripts and flows, especially for steps that are computationally demanding or dependent on external resources, such as APIs or databases.

Caching a flow means caching the results of that flow for a certain duration. If the flow is triggered with the same flow inputs during the given duration, it will return the cached result.

You can enable caching for a flow directly in the flow settings:

  1. Settings: From the Flow editor, go to the “Settings” menu and pick the Cache tab.
  2. Enable caching: Toggle on “Cache the results for each possible inputs” and specify the desired duration for caching results (in seconds).

For example, with a duration of 60 seconds, the result of the flow will be cached for 60 seconds. If the flow is re-triggered with the same input within this period, Orvanta will immediately return the cached result.

Caching a flow step means caching the results of that step for a certain duration. If the step is triggered with the same inputs during the given duration, it will return the cached result.

You can enable caching for a step directly in the step configuration:

  1. Select a step: From the Flow editor, select the step for which you want to cache the results.
  2. Enable caching: Navigate to the Advanced menu and select Cache. Toggle it on and specify the desired duration for caching results (in seconds).

For example, with a duration of 86400 seconds (1 day), the result of a step will be cached for one day. If the step is re-triggered with the same input within this period, Orvanta will immediately return the cached result.

Caching is a powerful tool that can optimize your workflows in Orvanta. By caching the results, you can eliminate unnecessary computation and accelerate your workflows.