I have a couple of questions about the attributes async
& defer
for the tag which to my understanding only work in
Faced same kind of problem and now clearly understood how both will works.Hope this reference link will be helpful...
Async
When you add the async attribute to your script tag, the following will happen.
Defer
Defer is very similar to async with one major differerence. Here’s what happens when a browser encounters a script with the defer attribute.
Reference :Difference between Async and Defer