This plugin uses regular expression (RegEx) to manipulate HTML and may have the following affect on your site:
Therefore, this plugin should only be use with Pull-Zone type of CDN where content must be available at origin. We recommend that you use Concrete5 FlySystem driver to integrate into S3 or Push-Zone CDN for remote FTP. For popular sites, this plugin help improve/alleviate traffic congestion by serving static content from Offsite/CDN.
Note: you may need to update the default path above to include your subdirectory. If your root path is example.com/subdirectory, then it should be: subdirectory/application/files/, subdirectory/concrete/, subdirectory/fundamental/, subdirectory/download_file/, subdirectory/packages/
Full source code is available on github at https://github.com/niiknow/concretecms-cdn