jQuery autocomplete too many db requests
<p>How to solve problem of too many requests to a database when using db data in jQuery ajax autocomplete widget? Basically every time the user inserts a letter, the script makes a ajax request to a database, what are the best practises to keep db requests to minimal? </p>

<p><strong>I get the data from third party app so i have to consider that it can change in my application.</strong></p>