4 ms·
It was slow because he was going through his server to get the query suggestions from Youtube and lots of people were on it. It's been updated to get the sugges
by what 16y ago
It was slow because he was going through his server to get the query suggestions from Youtube and lots of people were on it. It's been updated to get the suggestions directly from the source and it's significantly faster. Google's servers can handle the load better :)
- feross 16y agoYou are correct! I even ran into issues when Google automatically blocked my server for making too many repeated requests to the search suggestions endpoint. However, I rewrote the site to query YouTube directly for search suggestions, eliminating the round-trip to my server. Now, all the magic happens in each visitor’s browser, so it’s faster and Google can’t block it.