Current time: 10-19-2019, 10:45 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Downside of using CNAME in CDN?
04-10-2013, 01:05 AM
Post: #1
Downside of using CNAME in CDN?
Is there any speed penalty if we use CNAME to make the CDN URLs pretty eg. cdn.exmple.com instead of using the default CDN URL?
Find all posts by this user
Quote this message in a reply
04-10-2013, 01:35 AM
Post: #2
RE: Downside of using CNAME in CDN?
Slight but as long as you have a long TTL on the CNAME it will get cached by the various ISP's DNS resolvers.

Having a CNAME basically adds another query that the DNS servers need to do - they need to query your DNS resolver first and then go query the CDN provider's resolver.

We're generally talking on the order of 10's of ms but it could be slower depending on what you are using for your site's DNS and how well distributed it is.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-10-2013, 01:38 AM
Post: #3
RE: Downside of using CNAME in CDN?
Thanks Patrick. I am using DNSMadeEasy, so I guess the delay shouldn’t be all that much, but it is an overhead nonetheless.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)