Mobile app version of vmapp.org
Login or Join
Odierno851

: How do Github Pages fare for serving static files? I have a site that is composed only of static files. I just discovered how easy it is to host websites directly off Github. Any idea how

@Odierno851

Posted in: #StaticContent

I have a site that is composed only of static files.

I just discovered how easy it is to host websites directly off Github. Any idea how do they fare in terms of latency, reliability, capacity...?

In general - for static content only at the moment - are they "production grade"? How do they compare to say Amazon S3 in terms of pure latency and uptime?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Odierno851

2 Comments

Sorted by latest first Latest Oldest Best

 

@Sue5673885

The big limitation is no end-to-end TLS/SSL support.


Pages are served over HTTP, not HTTPS, so you shouldn't use them for sensitive transactions, like sending passwords or credit card numbers.

-- help.github.com/articles/what-are-github-pages

foo.github.io does work, but is not entirely secure (excerpt from GitHub support reply, Feb 2014):


While HTTPS requests may appear to work, our CDN provider is adding and removing the encryption at their end, and then the request is transmitted over the open internet from our CDN provider to our GitHub Pages infrastructure, creating the appearance of trustability.

This is why we do not yet officially support HTTPS for GitHub Pages.


And there is no TLS/SSL support for custom domains at all [unofficial issue].

Many people have experimented with fronting HTTPS on a custom domain via e.g. Clouldflare. Clouldflare specifically isn't end-to-end secure ("Strict Full SSL" doesn't work here) but whatever you use in front, Github's own Pages–CDN link remains insecure as explained above.

Another small bug: some paths redirect back to http.

10% popularity Vote Up Vote Down


 

@Yeniel560

GitHub is indeed production ready. They use replication, clustering and load balancing to provide low latency and hight availability and I would say they are pretty good at doing that. You can have an idea about the latest issues by reading the status page.

However, they aren't a real hosting. Compared to Amazon S3, for example, Amazon provides the following advantages:


An infrastructure about order of magnitude bigger
Ability to use CDN (Amazon CloudFront) to reduce latency by serving the pages with the nearest node according to user's location


The advantages of using GitHub pages is normally for Ruby users that wants to use Jekyll (the tool behind GitHub pages) and wants to leave GitHub the effort to compile and host the site. Last but not least, it's free (as long as you keep your repository public).

But nothing prevents you to use Jekyll locally (or any other publishing tool), generate the pages statically and host them on Amazon. I'm doing this for several projects. There are several command line tools to sync your local copy with the Amazon folder.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme