Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

I'm planning to use Amazon S3 with Cloudfront as CDN network.

But I'm guessing that changing the url from 345345df4.cloudfront.com to sub.domain.com will slow the process of download

Is this correct?

share|improve this question

migrated from stackoverflow.com Jun 8 '11 at 10:13

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer 1

It will make no difference. Clients have to make a DNS lookup to convert the name to an IP address; using a CNAME might make that slightly slower, but by tens of milliseconds. The download itself uses the IP address, and will be entirely unaltered.

share|improve this answer
    
so do you think the hosting that holding the subdomain, will be affected and maybe it will affect the process also if it was slow and couldn't handle thousands of connections –  Ahmed Janim Jun 8 '11 at 6:28
1  
no, DNS lookup is already highly optimised and cached and distributed in many locations including the user's computer. using a CNAME won't have any practical affect on whoever is hosting your DNS records –  Myster Jun 29 '11 at 2:09
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.