How to Configure Content Delivery Network (CDN) in Magento 2

magento-2-tutorial
how-to
configure
content
delivery
network
cdn

Configure CDN Magento 2 - Content Delivery Network (CDN) is one of the advanced solution when your site performance is too low to load and too long to wait while the web load time is important for your users experience, as well as SEO. Differing full-page cache, Content Delivery Network (CDN) is not fully integrated into Magento 2 Store, so you need to choose and configure a CDN for own.

Therefore, in this post, I will cover installing a CDN on Magento and help you achieve an amazing speed on the site.

To configure a content delivery network:

  • On the Admin panel, click Stores. In the Settings section, select Configuration.
  • Select Web under General in the panel on the left
  • Open the Base URLs section, and continue with following:

How to Configure Content Delivery Network (CDN)

  • In the Base URL for Static View Files field, enter the URL of the location on the CDN where static view files are stored

  • In the Base URL for User Media Files field, enter the URL of the JavaScript files on the CDN

  • Open the Base URLs (Secure) section, and continue with following:

How to Configure Content Delivery Network (CDN)

  • In the Secure Base URL for Static View Files field, enter the URL of the location on the CDN where static view files are stored.

  • In the Secure Base URL for User Media Files field, enter the URL of the JavaScript files on the CDN.

Note: All these fields can be left blank, or can start with the placeholder:

  • When complete, click Save Config.

Ref: Magento 2 User Guide

Please leave comments if you have any questions, feedbacks.

Comments for How to Configure Content Delivery Network (CDN) in Magento 2

You also may like these Magento 2 Extensions

One Step Checkout

$199
17 reviews

Layered Navigation

$149
7 reviews

Store Locator

$199
no review

Shop By Brand

$99
no review

Zoho CRM

$249
no review

FAQ

$149
10 reviews

Better Blog

FREE
7 reviews

Affiliate

$149
7 reviews