title: Magento: use subdomains as a CDN for media folder
body: <p>We are planning to use subdomains ie.cdn1.example.com, cdn2.example.com to deliver product images.</p>
  
  <p>How to configure Magento for this?</p>
  
  <p>How to handle Magento cache folder which save auto-generated thumbnails as per template?</p>