WebPagetest Forums
CDN - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Private Instances (/forumdisplay.php?fid=12)
+--- Thread: CDN (/showthread.php?tid=382)



CDN - mikemontrel - 09-22-2010 04:01 AM

Quick question. How does Webpagetest know if its using CDN?


RE: CDN - pmeenan - 09-22-2010 04:09 AM

When the optimization checks are done Pagetest does a DNS lookup for the host name (as well as a reverse-lookup on the IP) and checks to see if the hostname is a CNAME to a known CDN.

This way we can maintain a short list of known CDN domains and get broad coverage. If you're using a CDN that isn't detected just shoot me a note and I can get it added to the next release.

Thanks,

-Pat


RE: CDN - p83822 - 09-22-2010 04:29 AM

(09-22-2010 04:09 AM)pmeenan Wrote:  When the optimization checks are done Pagetest does a DNS lookup for the host name (as well as a reverse-lookup on the IP) and checks to see if the hostname is a CNAME to a known CDN.

This way we can maintain a short list of known CDN domains and get broad coverage. If you're using a CDN that isn't detected just shoot me a note and I can get it added to the next release.

Thanks,

-Pat

This one please Pat:
Host: cn.1.musicimg.ovi.com

:-)


RE: CDN - pmeenan - 09-22-2010 10:00 AM

Sure - looks like I'll need to add *.lxdns.comto catch it correctly. Who is the CDN provider (so I can add a comment with the domain)?

It will be included in the next update.

Thanks,

-Pat


RE: CDN - p83822 - 09-22-2010 06:12 PM

(09-22-2010 10:00 AM)pmeenan Wrote:  Sure - looks like I'll need to add *.lxdns.comto catch it correctly. Who is the CDN provider (so I can add a comment with the domain)?

It will be included in the next update.

Thanks,

-Pat

http://www.chinanetcenter.com/wangsu/english/index.htm

N


RE: CDN - mikemontrel - 09-22-2010 10:27 PM

Thanks! Is there a way i can just add it myself?


RE: CDN - pmeenan - 09-22-2010 11:05 PM

Not yet. The list is currently maintained in the pagetest code itself. I'll probably add a facility to let it pull in an external list as well but it's small enough and hasn't changed frequently enough to be much of a problem to date.