Since OSSN 6.2
Description
You can make your component compitable work with CDN if it uses files (local storage).
What to change?
There is not much changes you required
if(ossn_file_is_cdn_storage_enabled()) {
$file->setStore('cdn');
}
ossn_com.php file example :case 'photo':
$file = ossn_get_file(id);
if($file && $file->subtype == abc && $file->owner_guid == 123){
$file->output();
}
break;