Step by step installation guide for installing & configuring nopAccelerate CDN Plugin for nopCommerce store.
nopAccelerate CDN plugin assumes that you are already using nopCommerce.
We encourage you to use newer version of nopCommerce.
nopAccelerate CDN Plugin is fully compatible with any nopCommerce compatible hosting account. It works with Shared Windows Hosting Account, VPS & Dedicated Server.
Note: Before proceeding with installing & configuring CDN Plugin for nopCommerce, you should have properly configured CDN account and created a Pull Zone that uses your store URL as Origin URL. This also assumes that you have correctly configured CNAME entries for custom hostnames and installed SSL to your CDN account.
Step 1: Download CDN Plugin for your nopCommerce store.
Step 2: Upload or Copy (after extracting it) nopAccelerate CDN Plugin to your nopCommerce Plugins folder.
Step 3: Log into the Administration area of nopCommerce, and then goto Administration > Configuration > Plugins > click the button “Reload list of Plugins”.
Step 4: Once the list reloads, find the nopAccelerate CDN Plugin, and click the “Install”. Wait until Plugin is installed & page re-loads.
Step 5: Once the installation is finished, you will notice a new Menu as “Plugins” in the nopCommerce Administration Area. Go to Plugins > nopAccelerate CDN to open Configuration Page for nopAccelerate CDN.
Configuring CDN Plugin is simple.
Step 1: Make sure your CDN is configured properly
Before proceeding further open one of your product image from the site in browser and try replacing your Website URL with CDN URL. For example:
Replace with following CDN URL:
If you’re able to access the image, that means your CDN Pull Zone & Custom Hostname Settings are configured properly and working fine.
Step 2: Configure CDN Plugin for nopCommerce
Enter all your hostnames in CDN Hostname(s) textbox separated by comma and save the settings. For example:
Make sure to include “http://” at the beginning of hostname & “/” at the end.
Step 3: Please restart the application after saving the CDN configuration to make changes
You can restart your nopCommerce application by clicking on Restart Application link on the upper right area of nopCommerce admin panel.
Note: You need to do full indexing after enabling CDN if you’re using nopAccelerate Solr Plugins
If you’re using this plugin along with nopAccelerate Solr Plugins, and Solr index is already generated. Then, you need to rebuild the whole Solr Index, as to save processing power, database calls & speedup nopCommerce; we have stored the pre-generated Picture URL in the Solr Index which otherwise being generated on the fly when a page is requested.
Once you’ve configured nopAccelerate CDN Plugin, try accessing the Store. Product images should be downloaded from the CDN URL. If not, you need to restart the application.
If you’ve updated any of static contents on Origin Server, the change may not be visible instantly on CDN as CDN caches the file contents and will look for updates after expiry headers are set.
To make CDN update its cache, you can manually purge files from CDN using its control panel. Refer to your CDN provider documentation for the same, as the nopAccelerate CDN plugin currently does not support this feature.
October 20, 2018
September 12, 2018