---
title: "Discussion on \"Defer vs Async\" | Hashnode"
description: "Discussion on \"Defer vs Async\". The scripts in modern websites are heavier than HTML documents so it takes longer to download and process them.\nWhen the browser loads HTML and comes across an HTML script tag it stops building the DOM temporarily and starts executing the script; the..."
url: "https://hashnode.com/posts/defer-vs-async/61d1b6cc0413645f5c7bde6a"
---

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

Discussion

# [Defer vs Async](https://shubhampatel.hashnode.dev/defer-vs-async?utm_source=hashnode&utm_medium=feed)

The scripts in modern websites are heavier than HTML documents so it takes longer to download and process them. When the browser loads HTML and comes across an HTML script tag it stops building the DOM temporarily and starts executing the script; the...

Jan 2, 2022 · 3 min read · shubhampatel.hashnode.dev  
Updated Mar 13, 2022  
Read the article

-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#html5](https://hashnode.com/tag/html5)
-   [#async](https://hashnode.com/tag/async)

## Written by

[shubham patel](https://hashnode.com/@Alchemist98)

@Alchemist98 · India

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

Goal Oriented Web Developer

I'm a positive, enthusiastic, goal-oriented, and a self-taught web developer. I've developed a wide range of skills and attributes. Always trying to improve development and communication process.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
