by finack · 2y ago · 0 comments
1. Debounce!
2. Use WebSockets to minimize unnecessary round trips
3. Cache previous results and use them when the input is a superstring of a previous input (e.g. results for "Android mobile dev" will always be a subset of the results for "mobile dev")