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

Load scripts in parallel instead of sequentially #181

Merged
merged 1 commit into from
May 5, 2022
Merged

Conversation

simonihmig
Copy link
Owner

To run scripts in the right order, currently we are loading them sequentially by hand (by waiting for their load event). By injecting scripts all at once, but using defer, we keep the execution order in place (important!), while still allowing parallelization of network requests.

To run scripts in the right order, currently we are loading them sequentially by hand (by waiting for their load event). By injecting scripts all at once, but using `defer`, we keep the execution order in place (important!), while still allowing parallelization of network requests.
@simonihmig simonihmig added the enhancement New feature or request label May 5, 2022
@simonihmig simonihmig merged commit cff0d8f into master May 5, 2022
@simonihmig simonihmig deleted the defer branch May 5, 2022 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant