A list of all my long form blog posts excluding book review. You find them in the Reading section. You can also subcribe to a feed of only my longform writing (Article Feed)

How to slim down your Hugo homepage into an archive and a live page

My homepage deploy script stopped working at the end of January. The Hugo content folder is now over 4 GB in size and this causes quite long build times. But the bigger issue is the checkout time and the actual time required to deploy the final page after the GitHub Action build has completed. The whole issue is made more complicated as I’m unable to run Hugo directly on my webhost. So each time I trigger a new build the build process copies the entire public folder, which takes up to 30 minutes. And then it often runs into a caching or timeout issue on my webhost, leading to the page not updating for up to 12 hours. I never found out what the actual issue was. So it was time to find a solution for these problems. I had already run into this situation a year ago and managed to patch it, but I was never happy with the overall build process. This time I want to fix the problems once and for all.

Read 40 remaining paragraphs...