I did create a website from Jekyll and I’m looking for static web hosting to store it. What’s the fastest and lowest latency for free web hosting\? Here is a topic that I testing about it.
Static Web Hosting
I’ll deploy the site to a different web hosting to check what’s the best. My choices are following here.
Github Page is a free web hosting that supports to build Jekyll static web. It standalone running in Github repository so you can’t use it with Gitlab or other git platforms.
Netlify also a free web hosting but there’s a build limit for free user Netlify is supporting a lot of Static web generators. Netlify also allows to use their DNS for a faster routes.
Fast.io is super fast file hosting. but I use it as a static web storage. Fast.io provide many features such as Auto minify, Mirage (help speed up loading depend on device), Polish (automate compress image), Scrape Shield (protect site from scraping).
Because of every hosting have Global CDN and The result can be difference in difference tools so I need to test every host on every tools for the best estimate result as I can.
Dotcom-Monitor allow to test website multiple locations worldwide. I think this is the best tool testing because it has testing server around the world.
Dotcom-Monitor Github Page Result
Google PageSpeed Insights
Google PageSpeed Insights will analyze a web page. It can simulate screen size, 3G/4G mobile connection, and CPU speed the check that your site is working well on mobile devices. it can generate suggestions to make the page faster. but there’s no server location config so we don’t know the location of the testing server.
PageSpeed Insights Github Page Result
PageSpeed Insights Netlify Result
PageSpeed Insights Fast.io Result
GTmetrix is a testing tool that has rich features and comparison graphs to show you what site is loading faster.
To compare these site I’ll set the server location to Australia because It’s closet to my country.
After tests all hosting services with all tools. I think Fast.io is clearly the winner as performance static file hosting. This test might not the optimal test because I haven’t tuned the web enough as you see Fast.io minify and compress feature can still reduce data size. For Netlify, I forgot to set response headers and cache policy and Github Page still can’t config header response. By the way, Fast.io is just a static hosting service you can’t build your static site on it like Github Page or Netlify so You need to build before push to the git.
For the rich features, CICD, and build function, I think Netlify is still the best for me.