Newer Version Available
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:
- 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, 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.