Sept. 8, 2023, 6:36 p.m. | Muhammed Shameel Maravan

DEV Community dev.to




Exploring Script Loading Strategies: Normal, async, and defer


In the world of web development, optimizing page load times and ensuring a smooth user experience are top priorities. One key aspect of achieving this goal is how you load and manage JavaScript files in your HTML documents. In this post, we'll delve into the basics of script loading and explore two valuable attributes, async and defer, that can significantly impact your website's performance.





Traditional Script Loading


Before we dive into the …

async coding development documents experience files html javascript loading normal programming strategies web webdev web development world

Senior Machine Learning Engineer

@ Kintsugi | remote

Staff Machine Learning Engineer (Tech Lead)

@ Kintsugi | Remote

R_00029290 Lead Data Modeler – Remote

@ University at Buffalo | Austin, TX

R_00029290 Lead Data Modeler – Remote

@ University of Texas at Austin | Austin, TX

Senior AI/ML Developer

@ Lemon.io | Remote

Senior Data Science Consultant

@ Sia Partners | Amsterdam, Netherlands