action.skip

Why are some modifications not reflected immediately?

← Salesforce Environment FAQ

In Salesforce Lightning, you may experience delays in reflecting recent changes. If you add a new field or change the behavior of a field, add some picklist value, etc., it may take a while (some seconds up to a minute or even more) until your modifications are there.

To solve this, you can disable the browser caching that Salesforce recommends to actually improve the performance for the Lightning environment.

Note

Consider turning off browser caching in a developer or sandbox org only, since you usually do not modify Lightning components in a production org.

To disable the browser caching:

  1. Click to enter Setup, then open the Session Settings page.

    In Salesforce Lightning, navigate to Security > Session Settings.

    In Salesforce Classic, navigate to Security Controls > Session Settings.

  2. In the Caching section, deselect the checkbox Enable secure and persistent browser caching to improve performance.

  3. Click Save.

Related information:

Development settings vs production settings | Lightning Components Performance Best Practices