uploading check and CDN treatment