How to integrate UCDN with Magento?

2019-11-14 16:37

(*Disclaimer: Please be advised that the following instructions may have undergone some changes due to the third-party software and plugins updates.)

​Magento has the ability to utilize CDN Functionality without the need for a 3rd party plugin.

​Setting up a CDN using Magento’s native support (version 2.3.2):

       1. Log into the admin panel of your website.

       2. Go to Stores ⇒ Configuration.

       3. Under General select Web option.

       4. Go to URL's settings tab.

Follow these setup instructions:

  • Set the Base URL of your website so that your website domain is in the following format:
  • Base link URL leave as default:
  • Leave the Base URL for Static View Files empty
  • Base URL for Media Files:

​Do not forget to replace the zone of UCDN with your actual CDN URL and with your domain!

Now that you are officially using a CDN on your website, you can check if your URLs are being rewritten by loading your website and viewing the source code of your page.

Tags: Magento