Ekaterine (Catherine)ekaterine-mitagvaria.hashnode.dev·Sep 23, 2023Difference Between Async & Defer Attributes in JavaScriptWhen you are loading JavaScript files in your code, their download time takes longer than HTML because the size of JavaScript is usually larger. The scripts of JavaScript are downloaded along with other things like stylesheets and images and will be ...DiscussJavaScript
Sarthak Negisnegicodes.hashnode.dev·Aug 17, 2023Script Loading 101: Navigating the Normal, Async and Defer Landscape ⏳Introduction When it comes to optimizing the performance and behaviour of your web applications, the way you load JavaScript scripts can make a significant difference. In this article, we're diving deep into three loading techniques: normal script lo...Discuss·1 like·68 readsJavaScript
MANOHAR KUMARmanohar247.hashnode.dev·Aug 8, 2023Async vs Differ in jsMisconception about the Script tag Most people assume that the script tag should come before the closing body tag, as shown below: This assumption is due to how the browser parses (loads) HTML. However, you can place the script tag anywhere within th...Discussasync vs defer
haresh lakhwanidailylearn.hashnode.dev·Mar 29, 2023Choosing the Right Script Loading Strategy: Async vs Defer in JavaScriptIn this blog, we are going to learn about async and defer attributes in javascript. So async and defer are boolean attributes in javascript which are used along with script tag to load the external scripts efficiently in our web page. We can load scr...Discuss·44 likes·263 readsJavaScript
Akash Deep Chitranshcodechitra.hashnode.dev·Mar 20, 2023Async And Defer ScriptsIntroduction Async and Defer are boolean attributes used with script tags in HTML to load scripts efficiently. Whenever a browser loads a webpage two significant things happen behind the scenes: HTML Parsing Script Loading Further, two things in ...Discuss·1 like·77 readsJavaScript
Saqibiamsaqib.hashnode.dev·Feb 15, 2023async and defer attribute in the script tag?Both are boolean attributes that are used along with the script tag to load external scripts into our webpage. Let's discuss all three scenarios using a normal script tag and with async and defer attributes. 𝐍𝐨𝐫𝐦𝐚𝐥 𝐒𝐜𝐫𝐢𝐩𝐭 𝐭𝐚𝐠: In the n...Discuss·2 likes·104 readsJavaScript
Aryan Shawaryanshaw.hashnode.dev·Jan 30, 2023Async and Defer in JavascriptDo you know about these essential concepts for JS Interviews? if not let's dive deep into it We will try to explain in it straightforward terms and not so fancy and overwhelming stuff What are async and defer? Async and defer are attributes that are ...Discuss·4 likes·172 readsJavaScript
Savita Vermasavitaverma.hashnode.dev·Sep 28, 2022Understanding Async & Defer HTML AttributesAsync & Defer are boolean attributes that are used along with script tags to load the external script efficiently. Two things happen in a browser when we load a webpage. HTML parsing Loading of the script Script fetching from the network Executio...Discuss·56 readsasync
Sinchana M Ssinchanams.hashnode.dev·Jun 10, 2022Understanding async and defer attributeWhen you want to run the same JavaScript on several pages of your website, you create a separate external JavaScript file with the .js extension and add it to your HTML file using the <script> tag and refer to it using the src attribute like so: <scr...Discuss·1 like·76 readsasync vs defer
Arpitvany02.hashnode.dev·Jun 9, 2022Async vs DeferAsync vs Defer* the most confusing topic. A lot of programmer want understand this. Don't worry after this blog you will never be confused about this topic. Basically we use async and defer in script tags. Before coming to async and defer first of a...Discuss·161 readsJavaScript