Re:GitHub Pages with a custom root domain is slow
by ctz on Tuesday May 13, 2014 @11:06AM
(#7738481)
I have the same experience (http://jbp.io).
But I noticed that my DNS zone is quite different to how Github now tell you to do it (I have an A record to 204.232.175.78). So perhaps that is a factor.
Re:GitHub Pages with a custom root domain is slow
by emidln on Tuesday May 13, 2014 @11:36AM
(#7738652)
Came here to say that. My github page (just flat html) loads in ~65ms. Granted, 65ms to load a couple kb of text isn't awesome, but it's not nearly slow enough to optimize for me.
Re:GitHub Pages with a custom root domain is slow
by buttscicles on Tuesday May 13, 2014 @10:51AM
(#7738392)
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
by davidcelis on Tuesday May 13, 2014 @11:11AM
(#7738498)
That's not necessarily true. My own site is a Jekyll site. To host that on S3, I'd need to generate it first and upload the generated files as opposed to my source files. Now that's not really a big deal, but I do enjoy the convenience of only having to do a `git push` to deploy my site on Pages.
That being said, I notice times similar to another commenter above, around 1-2s usually. I don't think I've seen a five second load time.
Re:GitHub Pages with a custom root domain is slow
by lazerwalker on Tuesday May 13, 2014 @11:16AM
(#7738524)
This sounds like the sort of thing that could easily be automated using a five-line Bash (Ruby, Python, etc) script.
Re:GitHub Pages with a custom root domain is slow
by walesmd on Tuesday May 13, 2014 @11:43AM
(#7738699)
I do something very similar to this, using Wintersmith and shell scripts. It essentially boils down to using two repositories for my site: the first being the raw/ungenerated files including the shell scripts, the second being the generated files that are served by GitHub pages.
Re:GitHub Pages with a custom root domain is slow
by tnjm on Tuesday May 13, 2014 @11:54AM
(#7738767)
s3_website[0] is a very neat solution to this. It integrates automatically with Jekyll. A simple 'jekyll build && s3_website push' uploads all your changes to S3. I'm using it to power all my static sites. It'll even automatically invalidate your Cloudfront distributions, if you like.
Re:GitHub Pages with a custom root domain is slow
by Derbasti on Tuesday May 13, 2014 @03:35PM
(#7740156)
Came here to say the same thing (http://bastibe.de).
The linked site loads in less than half a second, but it costs $5 a month just for a simple page.