Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

AJAX request is not asynchronous #3

Open
aletson opened this issue Oct 21, 2014 · 3 comments
Open

AJAX request is not asynchronous #3

aletson opened this issue Oct 21, 2014 · 3 comments

Comments

@aletson
Copy link
Owner

aletson commented Oct 21, 2014

The AJAX request has async: false, mainly because I am bad at callbacks.

@aletson
Copy link
Owner Author

aletson commented May 7, 2015

Alright, Chrome actually is yelling at me about this now. Out of town this weekend then I'll hop on this.

"Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/."

@aletson
Copy link
Owner Author

aletson commented May 7, 2015

Possible solution: Get the hosts list first, then asynchronously load in the actual data for each host individually.

This would actually really, really make the whole dashboard thing better.

@aletson
Copy link
Owner Author

aletson commented Jul 13, 2016

promises might work now since jQuery 3 is Promises compatible. Worth looking into!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant