cben/mathdown

Retry loading timed out dependencies?

Closed this issue · 1 comments

cben commented

E.g. after flaky net connection, MJ log may contain:

File failed to load: https://mathdown.com/MathJax/config/TeX-AMS_HTML-full.js

after which the site does function but math isn't rendered (or in other cases is rendered in bad quality).

I doubt there is a reliable way to recover from arbitrary subset of partially loaded deps, so the only sane solution is reloading the page.
Automatic reload is only a win if we can detect that now we have a reliable connection; even then it's not clear it's good UX.
And it's not clear that users wouldn't instinctively reload anyway (at time convenient to them).

One thing that could help is clear indication that loading partially failed.

Deferring for now...

cben commented

Closing. Don't see a good way to go about this.