MAXCDN – Magento CDN

​Important note

This tutorial assumes you have already created a Pull Zone.
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

Log into the admin panel of your website.
Go to System → Configuration.
Under General select Web option.
Go to Unsecure 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: {{unsecure_base_url}}.
Base Skin URL:
Base Media URL:
Base Java Script URL:
Do not forget to replace “” with your actual CDN URL!
Keep in mind the warning inside this section: “When using CDN, in some cases JavaScript may not run properly if the CDN is not in your subdomain”.
Now that you are officially using a CDN on your website.

To ensure you implemented MaxCDN correctly, you can view the source code of any page to confirm that the CDN domain is being used for static assets instead of your origin domain. You can also use tools like pingdom, gtmetrix, webpagetest that can give you more detailed reports on your CDN implementation status.
Important Note
In case you accidentally used the wrong CDN URL for your Magento website, please visit this page to learn how to fix this mistake.


Was this article helpful?

Related Articles