GitHub repo: https://github.com/zwbetz-gh/hugo-client-side-search-template
On the DOMContentLoaded event, the JSON index is fetched, and Fuse.js is instantiated.
Thing | Value |
---|---|
JSON index fetch time | |
JSON index content encoding | |
JSON index content size (if this is 0, hard-refresh the page) | |
JSON index array length | |
Fuse.js instantiation time |
On every keyup event, Fuse.js is queried, and the hits are rendered.
Thing | Value |
---|---|
Search event time | |
Hit count |