function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
FilikinFilikin 

lightning slow to update config changes

Hi, I am doing my first lightning org and getting very frustrated by the speed with which config changes are appearing on the page.
For example, I added a new value to a picklist on the contact, then refreshed the contact page - no change.
On the fifth refresh, the new picklist value appear.
I am sure the problem is that Lightning is caching as much as possible to improve the user experience, but  I am wondering is there a magic developer flag to say "Don't cache anything until I am finished development"
 
Best Answer chosen by Filikin
Jefferson FernandezJefferson Fernandez
Hi there,
If you're using Chrome, you can download an extension for an easy way of clearing cache. But you qeustion about disable caching, there is a solution here (https://salesforce.stackexchange.com/questions/134111/salesforce-lightning-component-cache). But you will have to reactivate it once you're done development to revert back the performance.
Thanks,

All Answers

Jefferson FernandezJefferson Fernandez
Hi there,
If you're using Chrome, you can download an extension for an easy way of clearing cache. But you qeustion about disable caching, there is a solution here (https://salesforce.stackexchange.com/questions/134111/salesforce-lightning-component-cache). But you will have to reactivate it once you're done development to revert back the performance.
Thanks,
This was selected as the best answer
FilikinFilikin
Many thanks, I will try turning off the cache