If you are a Salesforce System Administrator, you may have experienced a frustrating issue where your new Layout doesn’t get updated even after refreshing. This is because in Lightning, Salesforce refreshes Layout metadata every 15 minutes to provide better performance by not having to call the server for changes. The assumption is that System Administrators are not usually making changes to page layouts during business hours.
However, this can be a problem when testing in a Sandbox. Fortunately, Salesforce gives you the tools to turn off the 15-minute caching and turn it back on when you are done making changes.
Mobile
Here are the steps to disable caching for Salesforce mobile apps on Android and iOS devices:
- Click the gear icon on your mobile device.
- Select “Setup” from the dropdown menu.
- Under the “Apps” section, choose “Mobile Apps”.
- Select “Salesforce” and then “Salesforce Offline”.
- Uncheck the box that says “Enable caching in Salesforce for Android and iOS”.
- Click “Save” to apply the changes.
By following these steps, you can easily disable caching on your Salesforce mobile app and ensure that your new Layout changes are updated immediately. Don’t forget to turn caching back on once you are done testing.
Lightning Experience
Here are the steps to disable caching for Lightning Experience:
- Click the gear icon in the top right corner of the page.
- Select “Setup” from the dropdown menu.
- Under the “Security” section, select “Session Settings”.
- Uncheck the box that says “Enable secure and persistent browser caching to improve performance”.
- Click “Save” to apply the changes.
By following these steps, you can easily disable caching on Lightning Experience and ensure that your new Layout changes are updated immediately. Remember to turn caching back on once you are done testing to ensure optimal performance.
By disabling caching, you can ensure that your new Layout changes are updated immediately. This simple workaround can save you time and frustration. Remember to turn caching back on once you are done testing.
We’d love to hear from you! Have you encountered this issue while testing and deploying new layouts on Salesforce? Share your thoughts and experiences with us in the comments section below. Your insights can help other users who might be facing similar issues.
Want To Learn More?
Learn about Permission Sets: Saying Goodbye to Profiles and Revolutionizing User Management!
Read more about Page Layouts
Share this article...
Pingback: Secret Strategies to Conquer Governor Limits and Revolutionize Your Development Game! - SalesforceMonday