Salesforce Interview Questions & Answers Book is now available!

Grab Now

Aura

πŸ”₯ Hot Tip on Handling Caching Mechanism and Performance in Lightning Experience

This one tip on Handling Caching Mechanism and Performance in Lightning Experience is going to save you countless no of hours.

By Teja, ex-Salesforce engineer Β· Updated July 20, 2018 Β· 1 min read

When we work on Lightning Experience things become very messy and hard to handle especially when we use Lightning Data Services.

That's because Lightning Experience has a very good caching mechanism to improve the end user performance which indirectly means terribly developer experience.

Everything will be fine with our code but we fail to see the expected output and we will be raking our brains thinking something is wrong with the code. But the reason why we dont see the output is because of Caching in Lightning Framework.

This tip shows you how to turn that off the caching feature which in turn enhances the developer experience. Once we are done we the development we can turn that on to make sure the end user gets all the benefit of the Caching Mechanism.

As usual this one tip alone is going to save countless no of hours πŸ•ΊπŸ•Ί

You can follow me on Twitter and Instagram to be updated about all the Hot Tips.

Also, subscribe below to receive an email about all the πŸ”₯Hot Tips.

Peace.

Learn it by building it

Every course, every code repository, the discussion group and certificates of completion β€” one subscription.

Keep me in the loop!

Email me when a new episode is published (promise, I will not spam you)

You're signing up to receive emails from Salesforce Casts