How To Disable and Enable Saleforce Lightning Caching



Salesforce optimises runtime performance for end users as a page loads. There is two step to optimises performance-
(If you are doing this as a developers than its worst seriously.....every time clearing cache to test your code is not good for developers health πŸ˜„)

1. Session Caching

Go through Setup →→ Session Settings →→ Caching
and deselect the following option .... Enable secure and persistent browser caching to improve performance.

This is an Org-Wide-Setting.

2. Debug Mode

Go through  Setup →→ Custom Code →→ Lightning Components →→ Debug Mode
Select Your User and click to enable button.


Comments