In this article, we will set up GotiPath CDN with your Magento website in just four easy steps.
1. Take your CDN URL / Pull Zone URL from our dashboard
After login into your GotiPath Dashboard you will see your CDN URL under “Content Delivery Network” > Domain > View
2. Configure Magento to use your CDN URL / Pull Zone
Next, log in to your Magento admin panel and click on the STORES button and then select Configuration. Next, click on GENERAL and Web menu buttons.
A new configuration panel will open where you now have to select the Base URLs tab and enter your GotiPath hostname URL as illustrated below into the Base URL for Static View Files and Base URL for User Media Files. Make sure to include the /static/ and /media/ subfolders into the appropriate fields as highlighted on the example.
After you set this up, do the same for the Base URLs (Secure) panel and then click on the Save Config button in the top right of the page. Be sure to use the https:// version of the URL here to avoid connectivity issues.
4. Flush your Magento cache
Finally, flush your Magento cache as instructed by the settings dashboard. After this is done, you’re all set. Your Magento store is now supercharged by GotiPath CDN.
Checking if CDN enabled is really simple.
- Purge the browser cache or use a Private or Incognito window.
- Open the website
- Right-click anywhere on the page
- View source code
If everything is okay you will enjoy better site speed. If not please contact us we will help you for the setup at no cost.