Disable Caching During Development
Disable the secure and persistent browser caching setting in a sandbox or Developer Edition org to see the effect of any code changes without emptying the cache.
The caching setting improves page reload performance by avoiding extra round trips to the server.
Disabling secure and persistent browser caching has a significant negative performance impact on Lightning Experience. Always enable the setting in production orgs.
From Setup, enter
Sessionin the Quick Find box, and then select Session Settings.
Deselect the checkbox for Enable secure and persistent browser caching to improve performance.
After disabling the browser caching setting, you can reload a page to test your code changes without clearing your cache. We recommend that you reenable the browser caching setting after debugging your code.