0

I am using cloudfront cdn for which I have I created a cname in my hosting server.

cdn.abc.com pointing to 3uuo34j3232.cloudfront.net

Can I create multiple cnames like above and use one for skin, one for js and one for media to parallize download? If this is not the correct way what is correct?

cdn1.abc.com pointing to 3uuo34j3232.cloudfront.net

cdn2.abc.com pointing to 3uuo34j3232.cloudfront.net

cdn3.abc.com pointing to 3uuo34j3232.cloudfront.net

or

Create a duplicate distribution and use it?

1 Answer 1

1

Yes, you can use a separate CNAME for each section (media, skin, js), and it will work fine. This will help parallel downloads for a slightly faster download. There should not be any issues with this as long the CDN URL's are sub-domains of your main domain.

The one area it can cause issues is in the admin, but if you set these URLs on the website view, it will limit it to the front-end only.

2
  • Thanks for responding. I didn't understand your last point. can you elaborate please?
    – Zoya
    Commented Jan 31, 2015 at 21:45
  • For the scope, change it from default, to the store in question. This will exclude the admin panel from using the CDN URLs. Commented Jan 31, 2015 at 21:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.