On your cdn, you have an option to disallow se's to index files on subdomains by robots.txt so you can keep a copy on cdn.example.com as well, and noindex it via robots.txt for better user experience
![imfkhan imfkhan](https://moz.com/avatar/large/5/i.png)
Welcome to the Q&A Forum
Browse the forum for helpful insights and fresh discussions about all things SEO.