hugomods / search

:mag: A powerful, flexible and responsive Hugo client side fuzzy search module.
https://hugomods.com/search/
MIT License
22 stars 11 forks source link

Sort pages in asc order on index files #241

Open razonyang opened 3 months ago

razonyang commented 3 months ago

Since we split the index file into multiple files by pagination, sorting pages in asc order will keep caches as much as possible, since with desc order, all index files caches will be expired when adding a page, with asc order, only the last index file will be expired in this case.