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 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 and all new and existing Experience Builder sites. Lightning CDN for Experience Builder sites can’t be turned off and isn’t configurable.

  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, ask your network administrator if your company’s firewall blocks any Akamai CDN content. Ensure that https://static.lightning.force.com is 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.

See Also