How to use CDN with Smart Slider?

To use CDN on your website, you will have to set it up globally to make your whole website use your CDN address. You can see in this documentation, how it's done. You should clear the slider's cache after you made the necessary changes.

WordPress

Open up your wp-config.php file, and change the WP_CONTENT_URL constant to the CDN url, which points to your wp-content folder:

define('WP_CONTENT_URL', 'http://cdn.example.com/wp-content');

Clear Smart Slider 3's cache.

Joomla

1
Default way

Follow these instructions.

2
JCH Optimize

If you're using JCH Optimize to set the CDN use the Translate URL feature with the following settings:

From
/images/
To http://your-cdn-url.com/images/

Clear Smart Slider 3's cache.

One possible way from our end

Our slider is using urls pointing to your website, so if you want to change all urls to your CDN url, use the translate url option, which can replace all urls used by us to any url you give.

From: yoursite.com

To: cdnsite.com

If you only want to replace the urls of images, you will probably have them inside the /wp-content/uploads/ folder (WordPress) or /images/ folder (Joomla), while other urls won't point there, so you could replace these urls:

From: yoursite.com/wp-content/uploads/

To: cdnsite.com/wp-content/uploads/

Clear Smart Slider 3's cache.