Performance/Addons/BestPractices: Difference between revisions

Line 60: Line 60:


==Asynchronous I/O==
==Asynchronous I/O==
* Never use synchronous XMLHttpRequests. Use asynchronous requests instead and show a throbber image or message in case you need the user to wait.
* Never use synchronous XMLHttpRequests. Use asynchronous requests instead and show a throbber image or message in case you need the user to wait.
* The NetUtils Javascript module provides helpers for asynchronous reading and copying of files. View [https://developer.mozilla.org/en/JavaScript_code_modules/NetUtil.jsm documentation and examples].


==Asynchronous SQL Queries==
==Asynchronous SQL Queries==
Confirmed users, Bureaucrats and Sysops emeriti
2,088

edits