Serve Your Experience Cloud Site with the Salesforce Content Delivery Network
(CDN)
Optimize page load times and site performance with our content delivery network.
Salesforce partners with a content delivery network (CDN) provider to efficiently deliver
publicly cacheable content to users on your Experience Cloud sites. We recommend the Salesforce
CDN for custom domains that serve Digital Experiences, including Experiences built with
Experience Cloud, Commerce, and Industries licenses.
Required Editions
| Available in: both Salesforce Classic and Lightning Experience |
| Available in: Enterprise, Performance, and Unlimited
Editions. |
| Applies to: LWR, Aura, and Visualforce sites |
- Content Delivery Networks (CDNs) and Salesforce
Optimize page load times and site performance with our content delivery network (CDN). Salesforce partners with a CDN provider to efficiently deliver publicly cacheable content to users on your Experience Cloud sites.
- Considerations for the Salesforce CDN
If you host public-facing, cacheable content on your Experience Cloud sites, we recommend that you use the Salesforce content delivery network (CDN) to greatly improve load times.
- Prerequisites for the Salesforce CDN
Before you set up a custom domain that uses the Salesforce content delivery network (CDN), complete these steps.
- Set Up a Custom Domain That Uses the Salesforce CDN
You can set up the Salesforce content delivery network (CDN) for your custom domain in Experience Builder, Salesforce Tabs, and Visualforce sites. Within each production environment, you can define multiple domains in a sandbox, but only one custom domain associated with a sandbox org can use the Salesforce CDN.
- Edit Settings for the Salesforce CDN
Fine-tune the Salesforce content delivery network’s (CDN) default settings to address the unique needs of your storefront domains. Turn image optimization and the web application firewall (WAF) managed ruleset off or on. You can also protect your domain from malicious activity with up to 10 custom WAF rules based on autonomous system number (ASN), IP address, and country.
- Traffic Allowances for the Salesforce CDN
Each byte of traffic that’s requested, whether it’s an image or a complex report, counts toward your content delivery network’s (CDN) usage amount. The amount of traffic allowed over a CDN depends on the license that you purchase. Understand how to monitor your Salesforce CDN usage and what happens if you exceed the terabyte limit.