Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Ultimate Static Site Host Showdown

Ultimate Static Site Host Showdown

TL;DR - Use Netlify.com - fast, free, secure

With such a huge range of options for hosting your static website, which one do you chose? In this talk, Josh, founder of TurboAPI, talks through the journey of finding the most performant and secure host for his Gatsby-based blog. The talk will be comparing, Firebase, GH Pages, GitLab pages, Netlify, Surge, Heroku and more.

Recorded live here: https://www.youtube.com/watch?v=HPQRzCbuP6o at MidlandsJS January 2021

Josh Ghent

January 23, 2021
Tweet

More Decks by Josh Ghent

Other Decks in Programming

Transcript

  1. such calm very relax Look at my webpage whilst I

    rake my sand garden brb listening to my rainforest sounds
  2. The Contenders • Vercel • GitHub Pages • GItLab Pages

    • Heroku • Netlify • Gatsby Cloud • Surge • Firebase
  3. Vercel • 3 click deployments • Pretty much instant (the

    service used to be called “now” and they weren’t kidding) • Missing some critical headers out the box
  4. GitHub Pages • Dead easy to setup - just create

    a branch! • Small cache • Headers are non-existent
  5. Netlify • Incredibly easy to set up • Lovely GitHub

    integration • Missing headers out the box but easily configurable
  6. Gatsby Cloud • Super easy 5 clicks to deploy •

    Nice user interface and onboarding - can sign in with GitHub • Nicely integrated with the Gatsby Ecosystem
  7. Firebase • Fairly easy to configure but have to use

    a terminal • Headers are not the worst but not great
  8. Surge • Rapid deployments but has to be from a

    CLI • Headers out the box aren’t secure
  9. Heroku • “Sleeps” the site after a period of time

    • Headers are non-existent • Had to configure build packs for Gatsby to get it to work • Average response time of 23 seconds!
  10. Gitlab Pages • Have to create a .gitlabci job to

    handle the deployment • Non-existent headers - at least out the box • Average time of 797ms
  11. Performance - median response time • Pingdom Regions - London,

    Frankfurt, SF • No TurboAPI Heroku stats as they were so slow • Firebase, Vercel and Surge average is slow on pingdom as it’s hosted in SF • Netlify appears most consistently performant across all regions
  12. Just Get to the Point If you’re going to pick

    a place to host your Gatsby or any other static site - pick Netlify! Why? • Faster than competitors • Secure out the box • Easy to deploy • Free with a custom domain • GitHub Integration is dope