Sunday, August 18, 2019

Ease Of Access While Developing Lightning Components


Problem Statement:
Whenever we are developing/debugging lightning UI components, we need to refresh our page multiple times in order to see the code changes reflected on the browser or not. This can be time consuming and sometimes confusing too.
Trick:
For development sandboxes, go to Session Setting from setup and disable Enable Secure & Persistent Browser Caching To Improve Performance checkbox. With this, all code changes will be reflected immediately on screen without any delay as we have disabled the cache.
Note:
Please do this only in dev sandboxes only as it may cause performance issues with other LEX components.



No comments:

Post a Comment