To integrate CDN with Magento:

  1. Log in to the Magento admin panel.
  2. Navigate to Magento admin panel > Configuration > Web > Unsecure.
  3. Update the following with the CDN URL (e.g., cdn.magento.com):
  4. Click Save to update the changes.
  5. Then navigate to Magento admin panel > Configuration > Current Configuration Scope: Main Website > Web > Unsecure > Base Skin URL.
  6. Uncheck Use Default for the Base Skin URL
  7. Update Base Skin URL:
    1. Base Skin URL: cdn.yourmagento.com/skin/
  8. Click Save to update the changes.

Verification


From the HTML source code, check if your Magento is on CDN. Image links should be replaced with CDN URLs.