3 ms·
It's actually all done via Ajax that way it doesn't affect the page load time. The search itself is also done on a separate server that way it doesn't tie up an
by matt1 14y ago
It's actually all done via Ajax that way it doesn't affect the page load time. The search itself is also done on a separate server that way it doesn't tie up any of the app's dynos on Heroku (go go JSONP).
I could make an initial API call and get a handful of results, but handling the remainder would be tricky. For example, let's say that the preliminary search returns 12 domains and I immediately display them to the user. Ten seconds later the second Ajax call returns an additional 60 premium domains. How do I display those to folks in a non-intrusive way? I'm open to suggestions :)