Futuristic Humanoid optimising the algorithm for searching a word

How I optimised my blog's search performance

By now you are already aware that at this point in time, this blog is using Hugo-PaperMod as its theme. This theme, as I have repeatedly mentioned, is pretty minimalistic yet full of necessary features. One such feature is search. As this is a static website, search is implemented on the client-side. When hugo builds the website, it generates a certain index.json that is indexed for this very purpose. PaperMod uses Fuse....

February 5, 2024 · 3 min · 553 words · eakangk
Search

Client Side Search for your Hugo Blog with Fuse.js

Featured Image is “Search!” by Jeffrey Beall is licensed with CC BY-ND 2.0. To view a copy of this license, visit https://creativecommons.org/licenses/by-nd/2.0/ In an earlier post about migrating from wordpress to self hosted on Azure, I took you through some steps to host a blog on Hugo. But I don’t know if you realised the blog didn’t have a search function. I couldn’t really search for articles! That I felt was a step back from my wordpress blog where I had the ability to search....

May 1, 2021 · 8 min · 1620 words