
It’s a good thing my articles are never quite that verbose. This test was so large that my India tests kept timing out. This one loads considerably slower but with a large chunk of text, it should give us a pretty good idea of which host serves straight text the best. I uploaded that test to the different hosts. I decided to create an all text page, so I set up a simple bootstrapped page with a ton of text on it. This is using my standard web page, so I decided to do an all text test. Here we see the sites load slower overall, but GitHub Pages are considerably faster. Site Load Times (Standard Website, Indore, India) So why not go overseas with a test? Since I have a large audience coming from India, I decided to test that: The grouping is much more close, and clearly geography matters. The results here were a little different. Site Load Times (Standard Website, Los Angeles CA) Since these tests were run from the same site I decided to change it up a bit. So in this test we have two clear winners. Site Load Times (Standard Website, Dulles VA) These are tested with from Dulles, VA on a cable connection. Since host all my CSS, JavaScript and Images on a CDN anyway, they don’t factor in to the actual host speed. I generated the site in Octopress and uploaded it to the following sites: Initially I ran some tests of my page’s basic content. However I am curious about other static site hosting options so I did some tests. One thing I’ve noticed about them, is they serve up static pages like this one surprisingly fast:Ĭouple that with the fact they run ASP 4.5 and unlimited MSSQL databases, I’m not exactly looking around for a new host. The service is great, speed is great and it’s an excellent package. My Current HostingĬurrently I’m hosted at Arvixe Hosting and I couldn’t be happier with it. I decided to do a comparison and see how some major services, including GitHub pages serve up static content.

As this is a static site I’ve recently had a lot of interest in static hosts and seeing which ones might be the best.
#GITHUB PAGES FREE FREE#
Here's the blog page announcement.Recently GitHub rolled out some improvements to GitHub Pages, their free static page hosting service. These days you can do custom things with GitHub Actions I figured this out from codepo8/github-redirection-demo/ (which uses Jekyll) followed by running curl -i against : % curl -i '' Redirecting to This document has moved! Redirecting to in 0 seconds.
#GITHUB PAGES FREE CODE#
The suggested alternative is to serve an HTML page with a 200 status code and content that looks like this: There is no mechanism to set your own custom redirects. I created folder-with-no-index with a bar.html file but no index.html or index.json: If there is no index.html or index.json a folder will 404 json extension is not automatically appended. Note that /json/index served a 404 - so unlike.

Index.json works as an index document too serves folder2.html (does not redirect).I created folder2.html and folder2/index.html: folder/ will serve folder/index.htmlĬreating a 404.html file in the root of the directory customizes the page served for a 404 error. If you create a file called foo.html in the repo and visit the page /foo you will see content from that file. foo will serve content from foo.html, if it exists

Weirdly, I found that this also fixed an issue where files in a directory called node_modules/ were serving as a 404. GitHub Pages was originally built around the Jekyll Ruby static site framework. I built a simonw/playing-with-github-pages repo today. GitHub Pages is an excellent free hosting platform, but the documentation is missing out on some crucial details.
#GITHUB PAGES FREE MANUAL#
Simon Willison’s TILs GitHub Pages: The Missing Manual GitHub Pages: The Missing Manual | Simon Willison’s TILs
