Newer Version Available

This content describes an older version of this product. View Latest

Enable the Lightning CDN to Load Applications Faster

To load Lightning Experience and other apps faster, enable the Lightning content delivery network (CDN) for your org. The Lightning CDN serves static content for the Lightning component framework.

CDNs are the industry standard for web applications because they provide faster and more secure content delivery. A CDN is a geographically distributed network of servers that store cached versions of web assets. To optimize page load times and site performance, a CDN efficiently delivers publicly cacheable content to users. If your company has IP range restrictions for content served from Salesforce, test thoroughly before enabling this setting.

Salesforce partners with Akamai and Cloudfront to serve the static content for the Lightning Component framework over a content delivery network (CDN). Orgs created before Winter ‘25 use the CDN partner Akamai. If your org is created after Winter ‘25, your org may be using the CDN partner Cloudfront. Contact Support to verify which CDN partner your org is using.

Note

To enable Lightning Experience, select Enable Content Delivery Network (CDN) for Lightning Component framework in Setup | Session Settings. This setting turns on the Lightning CDN for the static JavaScript and CSS in the Lightning Component framework at the org level. It doesn’t distribute your Salesforce data or metadata in a CDN. This setting is disabled by default for orgs created before the Winter ’19 release, and enabled by default for new orgs.

If you experience any issues, ask your IT department if your company’s firewall blocks any Akamai or Cloudfront CDN content. Your IT department can ensure that static.lightning.force.com and *.static.lightning.force.com are added to any allowlist or firewall that your company operates. You can ping static.lightning.force.com but you can’t browse directly to the root URL at https://static.lightning.force.com.

Don’t use IP addresses for network filtering because that can cause connection issues with https://static.lightning.force.com. IP addresses for https://static.lightning.force.com are dynamic and aren’t maintained in Salesforce’s list of allowed IP addresses.

Important