BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
834 / 1048 · Module 16 — Production Engineering and Observability← prev⊞ allnext →

16.53When caching helps

Suppose:

GET customer reference information

rarely changes but gets queried constantly.

Possible:

cache

to reduce Salesforce calls.

But ask:

How stale may data be?
How invalidate cache?
What happens after update?
Is Salesforce still source of truth?

Caching trades freshness for performance/capacity.