How to organize the really quick search in ul li more 1000 items in listing?

Standard situation:

<ul id="list"> <li><a href="#...">some_keyword1,some_keyword2,some_keyword3</a></li> <li><a href="#...">some_keyword2,some_keyword1,some_keyword5</a></li> <li><a href="#...">some_keyword6,some_keyword2,some_keyword7</a></li> ... </ul> 

Use this source in work: About 1000 items (<li>) in listing. The real situation is slowly working search (in 3-5 sec). How to organize the quickly working search to do the best result (ms) to get searching results. I`m frontender, so dont use the database, maybe only CSV as variant to do search from CSV to searching by keywords and preview resulted items in tag.

<ul> <li></li> ... </ul> 

How do you recommend the improve the time of searching and preview results (in milliseconds)?

Asked on September 1, 2020 in CSS.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.