Goodbye Jekyll, Hello Hugo

I do like Jekyll. It has helped me get back into blogging and I chose it as the technology to build Google Web Fundamentals with it.

Something is seriously wrong though: Performance.

Build times for my personal blog (about 400 pages) take roughly 45 seconds. Web Fundamentals is even worse, frequently taking many many minutes to build just one language pack and we support 13 languages. This performance problem seriously affects our team and our writing team because single changes in a local staging environment take upwards of 40 seconds to be visible in the browser.

Maybe we can improve it, but I sure as heck can't work out how to do it. I can't instrument it and we constantly hit issues with Ruby (we are not Ruby devs) specifcally around versioning of Gems and runtime updates.

We have a lot of technical debt with the site and it is taking me and the team a lot time just to keep things running for a static site. I have a hunch it is the templating engine and Ruby. But this is just me guessing.

I was looking around for fast static site generators and a couple of people on the wider team have hinted that Hugo (written in Go) is good, well structured and also fast.

I wont' go into Hugo to much. It is a static site generator that can ingest Markdown files (like Jekyll) and spit out a structured site based on the templates that you define.

I will go over some quick points:

Still, Performance is blazing and my blog is a lot quicker and has no Ruby dependencies.

I can't say that we will move Web Fundamentals to Hugo, it's a big job. I am very happy with the local build and deployment set up that I have now for now.

Title Image Credit:

I lead the Chrome Developer Relations team at Google.

We want people to have the best experience possible on the web without having to install a native app or produce content in a walled garden.

Our team tries to make it easier for developers to build on the web by supporting every Chrome release, creating great content to support developers on, contributing to MDN, helping to improve browser compatibility, and some of the best developer tools like Lighthouse, Workbox, Squoosh to name just a few.

I love to learn about what you are building, and how I can help with Chrome or Web development in general, so if you want to chat with me directly, please feel free to book a consultation.

I'm trialing a newsletter, you can subscribe below (thank you!)