Hacker News new | ask | show | jobs
by coldtea 1016 days ago
It's waiting for a slow remote customer endpoint. TTFB would be slow too.

Unless you have access and/or reimplement the endpoint, there's no "solution" and it's not a "fixed problem".

The most true thing would be to just show a label "Query send, waiting for results. Don't know how much it will take".

1 comments

Sorry. I thought it was clear from context that I replied to the conditioning remark.

The indeterminate progress bar/spinner were invented decades ago for this use case. There’s no need to assume users are “conditioned to expect progress bars to freeze and then suddenly finish”, and reinforce that.

If you don’t know when bytes will start arriving or how many will arrive, don’t pretend you do know.