Determine how to optimize Community performance.
Salesforce provides a browser plug-in to analyze the performance of communities. Based on this, Content Delivery Network, Browser Caching, and Progressive Rendering can be used to improve the performance.
Salesforce Community Page Optimizer is a free browser plug-in available on the Chrome Web Store. It helps to analyze communities and identify performance issues.
The plug-in consists of several tabs providing information and metrics while browsing a Salesforce community.
|Insights||Overall performance score and individual scores per best practices.|
|Waterfall||Network requests with performance metrics.|
|Timeline||Lightning component rendering life cycles.|
|Charts||Memory usage and Lightning component counts.|
|Components||Lightning component life cycle counts.|
|Cost||Lightning component processing times.|
|Actions||Page actions with timing information.|
Based on the analysis provided by the Community Page Optimizer plug-in, the design of a community can be refined to improve its performance.
Salesforce provides a free content delivery network (CDN) for communities. The CDN caches community resources on servers in different geographical locations, to reduce the distance between the community visitor and the server. This helps to reduce page loading times.
The Community Cloud CDN requires a custom domain. It is therefore only available for production environments in Enterprise, Performance, and Unlimited editions.
The browser caching feature helps to improve the performance of communities which use many Lightning components.
It securely stores community content in the browser cache during the first visit. In subsequent visits, this cached content can be retrieved faster than requesting the same information over the internet again.
Browser caching is enabled by default and can be configured under Session Setting in Salesforce Setup.
Progressive Rendering is an advanced Salesforce feature to optimize the page loading times of communities.
It allows prioritizing the loading and display order of components on community pages. Defining the optimal display priority requires a lot of planning and testing. This feature is therefore disabled by default. It can be enabled under Settings > Advanced in Community Builder.
If Progressive Rendering is enabled, the display priority of components can be configured in Community Builder.
A separate priority can be assigned to each top-level component on every community page. Possible display priorities are Highest, High, or Neutral.
The higher the priority assigned to a component, the earlier it is requested and displayed to the user.
The Highest priority should be assigned to the few most important components that should be viewed first. The High priority should be specified for components which can load later. Components assigned to the Natural priority and components not assigned to any priority are loaded and displayed last.
Changing components, themes, or layouts potentially impacts the validity of display priorities. Any change therefore requires a review and retest of display orders.
There are no practice questions for this objective.