3 ms·
At one company we tried to do better than this. The bank login form version of the feature we shipped would be to send an XHR (well, in current year, a websocke
by anonymoushn 6y ago
At one company we tried to do better than this. The bank login form version of the feature we shipped would be to send an XHR (well, in current year, a websocket message) per keystroke in the login form and preload the front-page data for all the users with the appropriate prefix once there are few enough of them. When the front-page request comes, the data should at least be in a memcached instance used by the relevant service, rather than in a DB owned by a different service.