I'm using VueJS for the front-end of my application and Laravel for the backend. Where is the best place to reduce calls to the server with a free text search?
Search input 'hello'
@keyup
will make 5 server requests
1st = h
2nd = he
3rd = hel
4th = hell
5th = hello
Ideally, I would like to be able to stop server requests until the user has stopped typing, or has delayed presses in keystrokes. That way I would only be sending 1 or 2 requests to the server for each search.