It was clear from the get-go that we had to go with a static site generator. Static sites are secure, performant, and give you 100% flexibility. At Forestry.io we provide Content Management Solutions for websites built with static site generators, so we might be a little biased. The only question: Which static site generator was the right choice for us?
In our early research we looked at Ionic’s site to get some inspiration. They used Jekyll to build their website. While Jekyll is a great generator, the build times for larger sites can be painfully slow. With more than 150 pages plus many custom configurations and add-ons, our website doesn’t fall into the low-volume category anymore. Our developers want a smooth experience when working on the website and our content editors need the ability to preview content quickly. In short, we need our builds to be lightning fast.
We knew Hugo was fast but we did some additional benchmarking before making our decision. Seeing Hugo in action is a whole different world of awesome. Hugo takes less than one second to build our 150-page site! Take a look:
Paginator pages |4
Non-page files |0
Static files |537
Processed images |0
Total in 739 ms
In fact, we liked Hugo so much that our wizard Chris made his workflow public and we started the open-source project Create-Static-Site. It’s a simple way to spin up sites and set up a modern web development workflow with one line of code. Essentially it adds build configurations as a dependency for JS, CSS and Image Processing.
Lastly, we want to take the opportunity to give some love to other amazing tools we used building our website.
What tools did we use?
Our Norwegian designer Nichlas is in love with Sketch. From what we hear it’s a designer’s dream come true.
Cloudinary is probably one of the easiest ways to get responsive images into your website.
We might be a little biased on this one - We think Forestry.io is a great way to add a content management system with a clean UI on top of your site without interrupting your experience as a developer.