Understanding Caching
After async code execution, caching is the second tool that can produce big performance impacts quickly. In some cases, you will be able to see parts of your application performing orders of magnitude faster after just a few clicks. In this chapter, we will explore the caching architecture of OmniStudio and the underlying Salesforce platform and how these can be applied to speed things up.
In this chapter, you will learn about the following:
- The reason why caching is widely used throughout the Salesforce and OmniStudio platforms
- The caching architecture of the core Salesforce platform
- How to use the Salesforce platform cache in Apex to improve performance
- How to use caching with DataRaptors and Integration Procedures to achieve impressive results
- The client-side caching options you can use in your Lightning Web Components
Let’s get started!