Magento Commerce, 1.14.x

Magento 1.x Software Support Notice
For Magento Commerce 1, Magento is providing software support through June 2020. Depending on your Magento Commerce 1 version, software support may include both quality fixes and security patches. Please review our Magento Software Lifecycle Policy to see how your version of Magento Commerce 1 is supported.

Media Storage CDN Configuration

Storing media files in a CDN is another alternative supported in Magento. There is no full integration with a specific CDN, and you are responsible for choosing and configuring a CDN on your own. After configuring the CDN, you must complete the configuration from the Admin. The changes can be made at either the global or website level.

Important! When a CDN is used as media storage, JavaScript may not function properly if the CDN is not in your subdomain. This is a browser security feature.

To configure a content delivery network:

1. On the Admin menu, select System > Configuration. Then in the panel on the left, under General, select Web.
2. Set the Current Configuration Scope as needed.
3. Click to expand the Unsecure section. Then, do the following:
a. Update the Base Media URL with the URL of the media files on the CDN.
b. Update the Base JavaScript URL with the URL of the JavaScript files on the CDN.
4. Click to expand the Secure section.
a. Update the Base Media URL with the URL of the media files on the CDN.
b. Update the Base JavaScript URL with the URL of the JavaScript files on the CDN.
5. When complete, click the Save Config button.