---
title: "Discussion on \"Choosing the Right Script Loading Strategy: Async vs Defer in JavaScript\" | Hashnode"
description: "Discussion on \"Choosing the Right Script Loading Strategy: Async vs Defer in JavaScript\". In 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..."
url: "https://hashnode.com/posts/choosing-the-right-script-loading-strategy-async-vs-defer-in-javascript/6424810778eb36eb5c9bb484"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Choosing the Right Script Loading Strategy: Async vs Defer in JavaScript](https://dailylearn.hashnode.dev/choosing-the-right-script-loading-strategy-async-vs-defer-in-javascript?utm_source=hashnode&utm_medium=feed)

In 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...

Mar 29, 2023 · 3 min read · dailylearn.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#async-vs-defer](https://hashnode.com/tag/async-vs-defer)
-   [#functional-programming](https://hashnode.com/tag/functional-programming)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[haresh lakhwani](https://hashnode.com/@Haresh9958)

@Haresh9958 · Ahemdabad India

  
[View profile](https://hashnode.com/@Haresh9958)

Sr Software Engineer at GlobalLogic.

Experienced developer with a background in native Android development and cross-platform development with React Native. Strong collaborator with a focus on attention to detail and staying up-to-date with the latest technologies. Currently expanding knowledge in data structures and system design. Capable of delivering high-quality applications utilizing React and React Native.

## Responses

Markdown supported · ⌘↵ to post

[Forex newsalert](https://hashnode.com/@Forexnewsalert)

[May 15, 2024](https://hashnode.com/posts/choosing-the-right-script-loading-strategy-async-vs-defer-in-javascript/6424810778eb36eb5c9bb484/comment/6644c73c93f2f7a4efe80c8d)

[idm.in/KhJrpHi](https://idm.in/KhJrpHi) XAUBOT is an Expert Advisor powered by machine learning and artificial intelligence, compatible with ALL forex trading pairs. Trade any trading pair you’d like and also trade multiple pairs simultaneously with this automated approach to trading.

telegram channel:[t.me/xaubotAdvice](https://t.me/xaubotAdvice)

[Forex newsalert](https://hashnode.com/@Forexnewsalert)

[May 3, 2024](https://hashnode.com/posts/choosing-the-right-script-loading-strategy-async-vs-defer-in-javascript/6424810778eb36eb5c9bb484/comment/6634c2b51d8556b7b7bed0f8)

idm.in/KhJrpHi XAUBOT is an Expert Advisor powered by machine learning and artificial intelligence, compatible with ALL forex trading pairs. Trade any trading pair you’d like and also trade multiple pairs simultaneously with this automated approach to trading. telegram channel:t.me/xaubotAdvice
