Earlier quoted context omitted.
I think that's right. But: a) this is a common problem for CDNs, as you can never guarantee the DNS server that's asking for your CNAME is close to the cache servers that you want to deliver your end-user content; I'd be surprised if the first CDN cache server a client fetches github content from didn't inspect the end-user IP address from the HTTP session and redirect to a closer / "more optimal" point of presence i…
this is a common problem for CDNs, as you can never guarantee the DNS server that's asking for your CNAME is close to the cache servers that you want to deliver your end-user content; This is the case, and it's a significant problem - especially for people who use Google's DNS server or OpenDNS There is an experimental, but reasonably widely deployed[1] solution available though. I'd be surprised if the first CDN cac…
Faster, More Awesome GitHub Pages
51–60 of 65 posts
Re: Faster, More Awesome GitHub Pages
#52Earlier quoted context omitted.
DNSMadeEasy apparently supports ANAME records (according to their docs); ANAME's are essentially ALIAS records with a different qtype (though from what I remember, the RFC that proposed them is now deprecated.)
+1 for DNSMadeEasy. The interface is not the best but their pricing is really competitive and their product super stable.
Re: Faster, More Awesome GitHub Pages
#53The way I read their documentation I set only a CNAME for www -> username.github.io. Does this mean I set no A record at all for the domain, to make sure I get the benefit of the CDN? If yes, how do I ensure requests for example.com resolve to www.example.com?
Re: Faster, More Awesome GitHub Pages
#54Please GitHub add https (with SPDY) support. Willing to pay for this.
Re: Faster, More Awesome GitHub Pages
#55I'm going to risk looking stupid here but what is the preferred DNS setup then, to make sure both example.com and www.example.com resolve to a GitHub Page at the custom URL www.example.com? The way I read their documentation I set only a CNAME for www -> username.github.io. Does this mean I set no A record at all for the domain, to make sure I get the benefit of the CDN? If yes, how do I ensure requests for example.c…
Re: Faster, More Awesome GitHub Pages
#56I'm going to risk looking stupid here but what is the preferred DNS setup then, to make sure both example.com and www.example.com resolve to a GitHub Page at the custom URL www.example.com? The way I read their documentation I set only a CNAME for www -> username.github.io. Does this mean I set no A record at all for the domain, to make sure I get the benefit of the CDN? If yes, how do I ensure requests for example.c…
The easier one to set up is to prefer the www version since it can be done with a simple CNAME and many DNS providers will offer a free automatic 301 forward for the non-www version. (But tastes differ on whether the non-www version looks better.)
Letting both versions resolve would give issues with Google indexing multiple versions of the same page, and reduces the ability to cache properly.
Re: Faster, More Awesome GitHub Pages
#57I'm going to risk looking stupid here but what is the preferred DNS setup then, to make sure both example.com and www.example.com resolve to a GitHub Page at the custom URL www.example.com? The way I read their documentation I set only a CNAME for www -> username.github.io. Does this mean I set no A record at all for the domain, to make sure I get the benefit of the CDN? If yes, how do I ensure requests for example.c…
The preferred way is to choose either www.example.com or example.com and let only one of them resolve, while the other should issue a 301 ("Moved permanently") back to the one that resolves. The easier one to set up is to prefer the www version since it can be done with a simple CNAME and many DNS providers will offer a free automatic 301 forward for the non-www version. (But tastes differ on whether the non-www vers…
If anyone figures out a better practice please leave a comment. My preference is no www (with www 301-ing) plus the CDN benefit, but this probably isn't possible.
Re: Faster, More Awesome GitHub Pages
#58Re: Faster, More Awesome GitHub Pages
#59Re: Faster, More Awesome GitHub Pages
#60Earlier quoted context omitted.
I think that's right. But: a) this is a common problem for CDNs, as you can never guarantee the DNS server that's asking for your CNAME is close to the cache servers that you want to deliver your end-user content; I'd be surprised if the first CDN cache server a client fetches github content from didn't inspect the end-user IP address from the HTTP session and redirect to a closer / "more optimal" point of presence i…
this is a common problem for CDNs, as you can never guarantee the DNS server that's asking for your CNAME is close to the cache servers that you want to deliver your end-user content; This is the case, and it's a significant problem - especially for people who use Google's DNS server or OpenDNS There is an experimental, but reasonably widely deployed[1] solution available though. I'd be surprised if the first CDN cac…
X-Served-By: cache-fra1225-FRA
X-Served-By: cache-d46-DAL
[1] https://news.ycombinator.com/item?id=6975830