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.
Determine and configure caching mechanisms within IPs to maximize performance.
~7 min read · 6 practice questions ·
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
- Detail
- 2880 minutes (48 hours); Cache Block default 5
- Detail
- 480 minutes (8 hours); Cache Block default 5; cleared when the session expires
- Detail
- 5 minutes
- Detail
- Top-level overrides the block for the top-level TTL
- Detail
- Only within the Cache Block
- Detail
- A failed top-level run isn't cached; Fail On Step Error stops block caching
- Detail
- ignoreCache true, resetCache false
- Detail
- VlocityAPIResponse
- Detail
- Turns off metadata caching only
- Detail
- Omni Interaction Configuration, value true
- Detail
- Clears session, org and metadata cache
Sources for this section (5)
- 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?
The questions are free to read. Answers with their sources and self-grading are included with the pack.
Keep reading with the Omnistudio Developer pack
- Core concepts
- Exam traps
- Worked scenario
The pack includes:
- All 46 lessons of the Omnistudio Developer guide, with reading progress
- Interactive decision walks and step-by-step sequence steppers
- Inline practice questions and one-click topic practice (6 questions for this lesson)
- An official source cited for every claim
- An AI tutor that answers from the guide
- Unlimited timed practice exams