Skip to Content
Learning Salesforce Lightning Application Development
book

Learning Salesforce Lightning Application Development

by Mohit Shrivatsava
July 2018
Beginner to intermediate
458 pages
9h 58m
English
Packt Publishing
Content preview from Learning Salesforce Lightning Application Development

Reducing server response time, using the platform cache

Redundant SOQL can be expensive, and you can significantly improve performance by using the platform cache feature of the Salesforce Lightning platform. Salesforce offers two types of caching mechanisms namely Org cache and session cache:

  • Session cache: This caches data for a user session, and the cache expires once the user session expires.
  • Org cache: This is accessible across sessions, requests, and Org users and profiles. You can set an expiration time for this type of cache.

The document here (https://developer.Salesforce.com/docs/atlas.en-us.Apexcode.meta/Apexcode/Apex_platform_cache_limits.htm) shows the size of the cache that's available for each Salesforce edition Org. You ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Application Development with Force.com

Mastering Application Development with Force.com

Kevin J. Poorman
Learning Salesforce Einstein

Learning Salesforce Einstein

Mohit Shrivatsava, Raghuver Parupalli

Publisher Resources

ISBN: 9781787124677Supplemental Content