---
schema_version: "1"
id: 97161c4f3d3acc99332496ff9eb4f84c599aae5dc9e60ae95a1552e0a49d9be1
title: Scale and Performance Optimization Tools for Experience Builder Sites
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/exp_cloud_perf_tools.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.exp_cloud_perf_tools.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1b354062e1e4cb608b4aade6004341f3fbdd2dc99371e4a41d622460121ea6b0
description: 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.
products:
  - Experiences
release: "264"
---
# 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

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Salesforce Classic and Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Enterprise</strong>, <strong>Performance</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Applies to: <a href="https://help.salesforce.com/s/articleView?id=experience.exp_cloud_basics_glossary.htm&amp;type=5&amp;language=en_US" target="_blank">LWR, Aura, and Visualforce sites</a></td></tr></tbody></table>

## The Salesforce Content Delivery Network

Improve page load time by serving your site with a content delivery network (CDN) such as the [Salesforce CDN](https://help.salesforce.com/s/articleView?id=platform.domain_mgmt_salesforce_cdn.htm&type=5&language=en_US) 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](https://help.salesforce.com/s/articleView?id=xcloud.optimizer_kick_off.htm&type=5&language=en_US) to eliminate unnecessary roles. You can also [configure person account owner power users](https://developer.salesforce.com/docs/atlas.en-us.sfFieldRef.meta/sfFieldRef/salesforce_field_reference_PersonAccountOwnerPowerUser.htm) if you must increase the number of users that your site can support.

[Choosing the right license for your site](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_plan_licenses.htm&release=264.0.0&type=5 "Licenses are a gateway to authenticated access to your Experience Cloud sites. So one of the most important steps when planning a site is selecting the right licenses for your use case. These licenses grant access to Experience Cloud sites to customers and partners who can't otherwise log in to your company's Salesforce org: External Identity, External Apps, Customer Community, Customer Community Plus, Partner Community, and Channel Account. A Salesforce account executive can help you understand the difference between the licenses, and help you decide the best ones for your use case. Before that, let’s answer some basic questions first.") 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](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_high_volume_record_creation_builder.htm&release=264.0.0&type=5 "Use the Create Record Form, Contact Support Form, or Lead Form (LWC) components to create cases, leads, and custom objects more efficiently. When records are collected into batches and processed asynchronously, your site can process more records at a time. Batch processing improves performance and keeps your site moving during traffic spikes.") 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](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_high_volume_self_reg_apex.htm&release=264.0.0&type=5 "Your Experience Cloud site can handle twice as many self-registration requests at a time when they’re collected into batches and processed asynchronously rather than one at a time. The accounts and contacts created are owned and managed by the community administrator. After a batch is processed successfully, users receive an email with their login instructions. Batch processing self-registration requests improves performance and keeps your site moving during heavy traffic spikes. Minimal coding is required when you use the Apex controller that manages your self-registration flow.") 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](https://help.salesforce.com/s/articleView?id=platform.networks_partners_optimize_roles.htm&type=5&language=en_US) 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](https://developer.salesforce.com/docs/platform/lwr/guide/lwr-intro.html) 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](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_perf_apex_caching.htm&type=5&language=en_US). 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.