Today’s Cloudflare Blog post, “We rebuilt Cloudflare’s developer documentation — here’s what we learned,” is a good read.
We already knew from three months ago that Cloudflare was transitioning its dev docs platform from Gatsby to Hugo, two years after doing the exact opposite. But the reasons why Cloudflare now explains that it returned to Hugo are particularly interesting:
. . . we struggled with our choice of underlying static site generator, Gatsby. We still think Gatsby is a great tool of choice for certain websites and applications, but we quickly found it to be the wrong match for our content-heavy documentation experience. Gatsby inherits many dependency chains to provide its [feature set], but running the dependency-heavy toolchain locally on contributors’ machines proved to be an incredibly difficult and slow task for many of our documentation contributors.
When we did get to the point of deploying new docs changes, we began to be at the mercy of Gatsby’s long build times — in the worst case, almost an entire hour — just to compile Markdown and images into HTML. This negatively impacted our team’s ability to work quickly and efficiently as they improved our documentation. Ultimately, we were unable to find solutions to many of these issues, as they were core assumptions and characteristics of the underlying tools that we had chosen to build on — it was time for something new.
Built using Go, Hugo is incredibly fast at building large sites, has an active community, and is easily installable on a variety of operating systems. In our early discovery work, we found that Hugo would build our docs content in mere seconds. Since performance was a core motive for pursuing a rewrite, this was a significant factor in our decision.
[Emphasis added in multiple cases.]
Latest commit (a884c349
) for page file:
2023-07-18 at 1:39:56 PM CDT.
Page history