# Integration Procedure caching: top-level and Cache Blocks

*Omnistudio Developer Study Guide · Integration Procedures · Last updated October 27, 2026 · https://www.certifyforce.com/study-guide/omnistudio-developer/integration-procedures/integration-procedure-caching-top-level-and-cache-blocks*

How to configure Org and Session cache for a whole Integration Procedure or for a Cache Block, how top-level caching overrides blocks, how Cache Keys and Cache Block Output are scoped, and how to test caching in Preview with ignoreCache and the vlcCache nodes.

- Certification: Salesforce Omnistudio Developer
- Exam section: Integration Procedures
- Study guide: https://www.certifyforce.com/study-guide/omnistudio-developer

**Official exam objective:**

> Determine and configure caching mechanisms within IPs to maximize performance.

## What the exam expects

- Configure top-level caching in the Procedure Configuration with a Salesforce Platform Cache Type and Time To Live In Minutes, and choose Org Cache or Session Cache from the data.
- Configure a Cache Block (cache type, Time To Live, Cache Keys, Cache Block Output, the three conditional formulas) and predict how top-level caching interacts with it.
- Test caching in the Preview tab with the ignoreCache and resetCache options, and read the vlcCache nodes in the output.
- Keep failed runs out of the cache, turn off the Scale Cache for sensitive data, and know which Connect API call clears which cache.

Key terms: **top-level caching** (caches the whole procedure's response), **Cache Block** (caches the output of the steps inside it), **Time To Live In Minutes** (how long cached data stays), **Cache Block Output** (key/value pairs from the block that later steps can read), **ignoreCache** (Preview option that neither clears nor saves cached data), **Scale Cache** (how Omnistudio implements Org and Session cache on Standard Runtime).

## Key facts

| Fact | Detail | Source |
|---|---|---|
| Org Cache maximum | 2880 minutes (48 hours); Cache Block default 5 | [Cache Block](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_block.htm&language=en_US&type=5), [Caching overview](https://help.salesforce.com/s/articleView?id=sf.os_cache_for_dataraptors_and_integration_procedures_54751.htm&language=en_US&type=5) |
| Session Cache maximum | 480 minutes (8 hours); Cache Block default 5; cleared when the session expires | [Cache Block](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_block.htm&language=en_US&type=5) |
| Minimum Time To Live | 5 minutes | [Cache Block](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_block.htm&language=en_US&type=5) |
| Top-level vs Cache Block | Top-level overrides the block for the top-level TTL | [Cache Block](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_block.htm&language=en_US&type=5) |
| Cache Keys scope | Only within the Cache Block | [Cache Block](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_block.htm&language=en_US&type=5) |
| Failed runs | A failed top-level run isn't cached; Fail On Step Error stops block caching | [Top-level caching](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_for_top_level_integration_procedure_data_54841.htm&language=en_US&type=5), [Cache Block](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_block.htm&language=en_US&type=5) |
| Preview defaults | ignoreCache true, resetCache false | [Top-level caching](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_for_top_level_integration_procedure_data_54841.htm&language=en_US&type=5) |
| Block partition | VlocityAPIResponse | [Cache Blocks](https://help.salesforce.com/s/articleView?id=xcloud.os_enhance_performance_using_cache_blocks_48810.htm&language=en_US&type=5) |
| Disable Definition Cache | Turns off metadata caching only | [Caching overview](https://help.salesforce.com/s/articleView?id=sf.os_cache_for_dataraptors_and_integration_procedures_54751.htm&language=en_US&type=5) |
| TurnOffScaleCache | Omni Interaction Configuration, value true | [Turn off Scale Cache](https://help.salesforce.com/s/articleView?id=xcloud.os_turn_off_the_scale_cache_55140.htm&language=en_US&type=5) |
| CacheStorageType.All | Clears session, org and metadata cache | [Caching overview](https://help.salesforce.com/s/articleView?id=sf.os_cache_for_dataraptors_and_integration_procedures_54751.htm&language=en_US&type=5) |

## Check yourself

- Why does a Cache Block with a 15-minute TTL serve hour-old data inside a procedure with a 90-minute top-level cache?
- When should a step inside a Cache Block have Fail On Step Error checked?
- When does Session Cache data leave the cache before its Time To Live ends?
- Which node shows that Preview ran with caching disabled?

## Sources

- [Improve Performance by Using Caching](https://help.salesforce.com/s/articleView?id=sf.os_cache_for_dataraptors_and_integration_procedures_54751.htm&language=en_US&type=5)
- [Cache Block](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_block.htm&language=en_US&type=5)
- [Cache for Top-Level Integration Procedure Data](https://help.salesforce.com/s/articleView?id=xcloud.os_cache_for_top_level_integration_procedure_data_54841.htm&language=en_US&type=5)
- [Enhance Performance by Using Cache Blocks](https://help.salesforce.com/s/articleView?id=xcloud.os_enhance_performance_using_cache_blocks_48810.htm&language=en_US&type=5)
- [Integration Procedure Actions](https://help.salesforce.com/s/articleView?language=en_US&id=xcloud.os_integration_procedure_actions_50165.htm&type=5)
- [Turn Off the Scale Cache](https://help.salesforce.com/s/articleView?id=xcloud.os_turn_off_the_scale_cache_55140.htm&language=en_US&type=5)

## About the full unit

The "Core concepts", "Exam traps" and "Worked scenario" sections of this unit, its 6 linked practice questions, and unlimited timed mock exams are included with the Omnistudio Developer pack (USD $19): https://www.certifyforce.com/practice-exams
