In our previous blog article, we reviewed the importance of regularly reviewing your org’s security. This time around, we look to review Lightning Page performance.
What is a Lightning Page?
Lightning Pages are a genuinely excellent feature that lets you create and design a custom page for use in Salesforce (or on the Salesforce Mobile App).
We have seen many wonderfully crafted Lightning Pages in our time and, on many occasions, some where you can really tell that a lot of thought and effort has gone into it to ensure the user gets the best possible experience.
However, not every Lightning Page will be that well received, and some will suffer from inferior performance.
What will impact Lightning Page performance?
There are a whole variety of distinct factors that can negatively affect the performance of a Lightning Page.
For example, if you had a Lightning record page containing many separate single related list components, then I would hazard a guess that the load time will be longer than simply using the related list component.
Alternatively, if you have a lot of components on the page but you are not using tabs or the accordion components, then your page will take a performance hit.
How do I get started?
We often find that testing a variety of distinctive designs is a good starting point. If you have someone who can test and provide feedback too, then that will prove invaluable.
Here are 5 things to consider as a starting point:
- Do not have too many components visible on the initial load of the page. If you have components on your page that are not important for users to always see, then consider putting them behind a non-default tab.
- Focus on value and consider what fields users need to see and reflect that with the fields you display on the record detail page.
- Use the Lightning Usage app to get insights into problematic pages. The Lightning Usage app can be found via the app launcher (search ‘Lightning Usage’). Amongst some other metrics, it will show you important metrics about your Lightning Pages, such as the most viewed pages. Using this app will allow you to better strategise where to focus your efforts.
- Take care with related lists. If you have too many lists visible – especially the ones with multi-object relationships – then your page’s performance will suffer. Consider cutting down on related lists, adding them on a non-default tab, or even putting them lower down in the page layout to avoid them being part of the initial page load.
- Use the ‘Analyse’ button on the Lightning Page itself to get feedback on performance.
The Analyse button
The Analyse button can be accessed from within the Lightning Page in the Lightning App Builder. Once pressed, it will provide you with valuable information about your design.
For example, you will see the predicted load time (desktop / mobile) and the performance breakdown per component.
Your users matter, so make sure the system works in the best way for them by designing your Lightning Pages to be as efficient as possible.
At Ribbonfish, we have decades worth of experience in publishing and IT, and we have a whole suite of innovative publishing specific products that will truly optimize and improve the way you work.
We would love to show you more, so if you need help getting the most from your lightning pages, or want to explore our suite of products and other services, contact us via email ([email protected]) Or arrange a call back from us via the form here.
Looking for more Salesforce insider knowledge?