Newer Version Available

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

Enable CDN to Load Applications Faster

Load Lightning Experience and other apps faster by enabling Akamai’s content delivery network (CDN) to serve the static content for Lightning Component framework. A CDN generally speeds up page load time, but it also changes the source domain that serves the files. If your company has IP range restrictions for content served from Salesforce, test thoroughly before enabling this setting.

CDNs improve the load time of static content by storing cached versions in multiple geographic locations. This setting turns on CDN delivery for the static JavaScript and CSS in the Lightning Component framework. It doesn’t distribute your org’s 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 and all new and existing communities. Lightning CDN for Communities can’t be turned off and isn’t configurable.

To enable the CDN:

  1. From Setup, enter Session in the Quick Find box, and then select Session Settings.
  2. Select the checkbox for “Enable Content Delivery Network (CDN) for Lightning Component framework”.
  3. Click Save.
If you experience any issues, ensure that https://static.lightning.force.com is added to any whitelist or firewall that your company operates and ask your IT department if your company’s firewall blocks any Akamai CDN content.

Do not use IP addresses for egress filtering as that can cause connection issues with https://static.lightning.force.com. IP addresses for https://static.lightning.force.com are dynamic and are not maintained in Salesforce's list of IP addresses to whitelist.

Important