Live data from Hacker News

GitHub Pages with a custom root domain is slow

instantclick.io

1–10 of 93 posts

Re: GitHub Pages with a custom root domain is slow

#2
You can actually use CloudFlare and stay on Github pages. In the CloudFlare DNS editor you can point your root at github's cname address and everything will work. If you choose not to enable CloudFlare proxy service you can still use the DNS to flatten Github's cname. See http://blog.cloudflare.com/introducing-cname-flattening-rfc-...

Re: GitHub Pages with a custom root domain is slow

#6
Many CDNs such as Akamai, Incapsula, CDNSolutions, etc. Would be able to do the same thing;however, I wouldn't go as far as saying to leave Github Pages completely, I've found that CDNSolutions in front of Github pages load insanely fast. That could be the case for any site setup properly on a service such as Incapsula, CDNSolutions, etc.

Re: GitHub Pages with a custom root domain is slow

#7
post #2

You can actually use CloudFlare and stay on Github pages. In the CloudFlare DNS editor you can point your root at github's cname address and everything will work. If you choose not to enable CloudFlare proxy service you can still use the DNS to flatten Github's cname. See http://blog.cloudflare.com/introducing-cname-flattening-rfc-...

Oh wow. I’ll update the article now, thanks!

Edit: Done, seeing changes will need an F5.

Re: GitHub Pages with a custom root domain is slow

#8

I think that this can vary quite a bit. My simple GitHub page loads in roughly 1 second. I don't think it's ever taken as long as 5 seconds. The linked site loads in less than half a second, but it costs $5 a month just for a simple page.

If you're using github pages you're only hosting flat files, so S3 is another viable option.

Re: GitHub Pages with a custom root domain is slow

#10

I think that this can vary quite a bit. My simple GitHub page loads in roughly 1 second. I don't think it's ever taken as long as 5 seconds. The linked site loads in less than half a second, but it costs $5 a month just for a simple page.

It could cost zero with a free host if I’d wanted to and still be as fast. The real performer here is CloudFlare and its edge cache, which doesn’t hit the server most of the time.
Post reply on HN