4 ms·
I am huge fan of Hugo and I use it for my personal blog and some minor websites. Has anyone used Hugo for something other than a blog? I am looking for some st
by stadeschuldt 8y ago
I am huge fan of Hugo and I use it for my personal blog and some minor websites.
Has anyone used Hugo for something other than a blog? I am looking for some stories like using Hugo as a REST-API or anything other more creative similar to this:
https://forestry.io/blog/build-a-json-api-with-hugo/ https://forestry.io/blog/build-a-json-api-with-hugo/
- mark212 8y agoI used Hugo 0.12 to build a 2200+ page non-blog website a few years ago, with Disqus commenting. Completely different than a REST api, but the jaw-dropping part was how quickly it all got parsed. Like under 2 seconds. Crazy fast.
- ncphillips 8y agoThat's insane. My <10 page Gatsby site takes 15-20 seconds :/
- mattferderer 8y agoNot necessarily a fair comparison. A bit oranges vs apples there. Most of the Gatsby time is usually doing bundling of css, js, etc with Webpack. I would imagine if you did that with a Hugo site you would run into the initial 15-20 seconds to bundle & then a few seconds to convert all your markdown pages into static HTML pages. That said, I would assume Hugo still wins but not by near as much. So you can argue that Hugo is much faster, if you don't have a use for Webpack on your site. If you don't want the fancy bells & features Gatsby provides, you should for sure pick Hugo over it.
- ncphillips 8y agoGreat point. Hugo does a bit more css processing now, but not nearly as much as Gatsby would.
- sandGorgon 8y agothere is a huge performance rearchitecture going on in Gatsbyjs - https://github.com/gatsbyjs/gatsby/pull/6226/ https://github.com/gatsbyjs/gatsby/pull/6226/ current benchmark: 25000 pages in 32 seconds.
- neRok 8y agoI've got a wiki style site built with hugo. Source code is here (readme includes link to actual site): https://github.com/neRok00/mq-patrol https://github.com/neRok00/mq-patrol