Skip to content

Conversation

@kl0tl
Copy link

@kl0tl kl0tl commented Aug 31, 2016

According to this article, setting the async property of dynamically created scripts to false let the browser download them in parallel (unlike $script.order) but preserve the execution order. The difference is mostly visible on mobile devices with slow connection.

Is there any drawbacks of this approach ?

@rstacruz
Copy link

rstacruz commented Oct 5, 2016

This needs to be applied to the src/ file, not the dist/ file.

@kl0tl
Copy link
Author

kl0tl commented Oct 5, 2016

@rstacruz Yes I’ve modified src/script.js :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants