Replies: 2 comments
-
Those are exactly the same settings I came to use after I switched to hugo-theme-bootstrap, although I never noticed any performance issues. |
Beta Was this translation helpful? Give feedback.
-
I changed the |
Beta Was this translation helpful? Give feedback.
-
The default settings for FuseJS in the theme result in an extremly slow and cpu intense search.
For my blog (~2600 Posts) it took often so long that the browser asked to close tab (because a script caused to much load, 100% CPU). And the results were wrong most often. There where blog posts (hundrets sometimes) in the result list that didn't have the searched word included.
Today I changed the default settings to (and disabled fuzzy search though):
Now the search results appears within 1 second in Chromium and a bit slower (few seconds) in Firefox.
I also enabled extended search for FuseJS.
The default settings are probably sufficient for smaller blogs, but at some point the default settings should be changed.
Could you add an information about this to your documentation, please?
You can try the new settings on my blog.
Thank you :)
Beta Was this translation helpful? Give feedback.
All reactions