devxlogo

May 4, 2018

Load JavaScript Asynchronously on a Web Page

By default, JavaScript script files are loaded synchronously in the page execution and thus are bound to slow down the page. You can asynchronously load the scripts by simply adding