You are here:
Scale and Performance Optimization Tools for Experience Builder Sites
Salesforce performance tools help ensure that your high-traffic sites and large-scale B2B and B2C applications perform well and deliver lightning fast response times. Each tool has been tested and developed to meet specific scale and performance needs.
Required Editions
| Available in: Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
| Applies to: LWR, Aura, and Visualforce sites |
The Salesforce Content Delivery Network
Improve page load time by serving your site with a content delivery network (CDN) such as the Salesforce CDN or a third-party CDN provider. A CDN is a geographically distributed network of servers that optimizes routing and stores cached versions of web content. When you store content in multiple hubs instead of in a central location, your site can be accessed more quickly from the closest network. And when multiple users request the same content at the same time, they’re accessing it from more than one location, which reduces processing load. Using the Salesforce CDN also unlocks access to other features that can improve the customer experience.
Experience Cloud Licenses
The Customer Community license can support the greatest number of users but offers limited access to Salesforce data. The Customer Community license works well for sites with large user volume and traffic spikes but doesn’t provide as much access to CRM objects or data sharing.
Customer Community Plus and Partner Community role-based licenses offer more access to data but don’t support as many users as Customer Community licenses. These licenses are ideal for business-to-business and business-to-consumer sites that require users to access reports and dashboards, sales data, and advanced sharing. You can enable Account Role Optimization or the Salesforce Optimizer app to eliminate unnecessary roles. You can also configure person account owner power users if you must increase the number of users that your site can support.
Choosing the right license for your site to balance scale and product capabilities is critical to remaining operational at scale. Contact your Salesforce representative to discuss which license is best for your business needs.
High-Volume Record Creation Using Micro-Batching
Enable micro-batching to create a high-volume of records for Cases, Leads, and Custom Objects. Micro-batching creates these records in batches rather than one at a time. Asynchronously batch processing record creation is an effective way to create object records for high-traffic sites.
High-Volume Self-Registration Using Micro-Batching
Self-registration is the fastest way to register users to a site. But site performance can decrease if too many users register at the same time. Enable high-volume self-registration using micro-batching to process self-registration requests in batches rather than one at a time, and handle self-registration loads for high volume-sites more effectively.
Account Role Optimization
Role-based licenses are required for accounts to share data. But role-based licenses automatically create the default number of roles for every user created, even if they don’t share data. A high volume of roles impact performance and potentially reduce scale of your site. If you anticipate sharing a high volume of data with external users, enable Account Role Optimization to avoid creating unnecessary roles. It delays account role creation until there’s a second user and roles are necessary to support sharing data.
Lightning Web Runtime (LWR)
The Lightning Web Runtime (LWR) framework was developed with speed and performance in mind. It uses Lightning Web Components (LWC). Because the components are built on code that runs natively on browsers, they’re lightweight and efficient. For unparalleled site performance and scale, pair Lightning Web Runtime (LWR) with the Salesforce CDN.
Apex Caching
Improve performance of your LWR site by caching public data from Apex methods. Salesforce controls caching of Apex methods used on standard pages and components, and caches data where appropriate. Control caching for your own Apex methods using caching annotation, or control caching for Apex methods in managed packages by enabling a site preference (enabled by default).
Progressive Rendering
Optimize the overall performance of your Aura-based site’s pages by turning on Progressive Rendering. Progressive Rendering fetches, renders, and prioritizes page components, which can significantly improve the performance of component-heavy pages.
Page Optimizer
Page Optimizer reviews site performance and identifies opportunities to optimize performance. The Page Optimizer analyzes your Aura-based sites or apps and identifies performance optimization opportunities.
Performance and Scale Testing
Test site performance when implementing features, making changes, and during final review. If you have a large-scale site, use numerous customizations, or are unclear about your site’s scale limits, testing is even more important. You can test your site using any of the available tools or open-source frameworks. Experience Cloud also has performance and scale testing capabilities. We encourage you to test, using commercial tools or open source. Or internal tools require Salesforce assistance and can’t be used externally. Contact your Salesforce representative to determine whether your site is a good match for Salesforce performance testing tools.
Outages and Traffic Spikes Preparation
If your site becomes unavailable or overwhelmed by a spike in traffic, availability pages can communicate the issue to customers and allow business to continue. You can customize the Service Not Available page to provide the best possible experience for your customers when your site is down. The Too Many Requests page improves user experience when a site is overwhelmed with traffic and redirects users back to the site when it’s available again.

