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

@ GPTZero | Toronto, Canada

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Director, Venture Capital - Artificial Intelligence

@ Condé Nast | San Jose, CA

Senior Molecular Imaging Expert (Senior Principal Scientist)

@ University of Sydney | Cambridge (USA)