|
Lightning Experience Appendix Salesforce Lightning caching issues are common but can be easily avoided. In this blog article I would like to show you how to quickly fix this problem. What problems can occur with Salesforce Lightning caching? By default, Salesforce uses a very strong caching mechanism for Lightning environments and Lightning components . The aim of this is to optimize the performance of Lightning applications by storing as much data as possible in the browser's cache and therefore having to be reloaded less often. This usually works without any problems, so that the Lightning Experience is truly a unique user experience.
Some cases, this Salesforce Lightning caching mechanism does not work Indonesia WhatsApp Number List properly and can lead to the following issues: Data that has been updated is not shown as updated For Community Pages, redirection to other Community Pages no longer works correctly The user often has to refresh their page using the F5 key to see current results Attachments or related records that are created automatically (e.g. for quotes ) are not displayed correctly We have often encountered this problem when changing record types automatically . If the change of a record type is also associated with a change of the page layout , the problem often arises that this change in view of the object is “swallowed” and the user has to reload the entire page to get the corresponding result.
Our e-book on the topic of Salesforce Lightning Salesforce Lightning Innovations, advantages, challenges and the switch to Salesforce Lightning - read now! Small tick, big impact The Salesforce Lightning caching mechanism goes overboard in some places and saves data that should not be backed up. Fortunately, you can deactivate this mechanism somewhat with a small tick. This has the disadvantage that performance may suffer slightly under Lightning Components. However, this has not yet been noticeable for our users. To edit this option do the following: Go to Setup – Security Controls – Session Settings Uncheck “ Enable secure and persistent browser caching to improve performance ” Disarm Salesforce Lightning Caching Mitigate the Salesforce Lightning caching mechanism This small, well-hidden checkmark ensured that 90% of the caching problems and “crazy” behavior that occurred in Salesforce Lightning environments or Salesforce communities based on Lightning templates (like Napili) could be resolved.
|
|