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

Unable to refresh Lightning component

In Winter '18, we are unable to consistently refresh Lightning components.  It appears that they display properly once or twice, but then we can no longer refresh the browser in any way to display the latest version.

We have tried to see the updated component in different browsers on the same machine and even on different machines. Its as though an older version of the component is being cached on the server.

Any ideas of what's happening?
Pasan   EeriyagamaPasan Eeriyagama
I have seen similar behavior in summer 17 too. Is it after changning the component? or only at runtime?
Nilesh DetheNilesh Dethe
Hi, We faced similar issue with the Record type changes to reflect in corresponding pagelayout in the lightning experience. I am hoping that the same issue is with the lightning component refresh. Here is solution which we got from the weekly digest.

Setup -> Session Settings -> Enable secure and persistent browser caching to improve performance.
Disable the cache. (Only for dev org.)
You shouldn't disable the cache in production as this will have a significant negative impact on performance.

Hope this will help you in some way atleat on the dev org.