Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new preserveExecutionOrder option #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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