Newer Version Available
Enable CDN to Load Applications Faster
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 Buildersites can’t be turned off and isn’t configurable.
To enable the CDN:
- From Setup, enter Session in the Quick Find box, and then select Session Settings.
- Select the checkbox for “Enable Content Delivery Network (CDN) for Lightning Component framework”.
- Click Save.
If you experience any issues, ask your IT department if your company’s firewall blocks any
Akamai CDN content. Your IT department should 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.