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

Optimise JavaScript loading #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ryantownsend
Copy link
Owner

@ryantownsend ryantownsend commented May 5, 2018

This PR illustrates how we can optimise JavaScript loading:

  1. Making anything possible load asynchronously (in this case, using defer)
  2. Self-hosting 3rd-party scripts
  3. Minifying

This PR excludes bundling and tree-shaking, two other build-pipeline enhancements I'd recommend.

@ryantownsend ryantownsend added the enhancement New feature or request label May 5, 2018
@ryantownsend ryantownsend self-assigned this May 5, 2018
@ryantownsend ryantownsend temporarily deployed to slowest-site-in-the-world May 5, 2018 20:49 Inactive
@ryantownsend ryantownsend temporarily deployed to slowest-site-in-the-world May 5, 2018 21:09 Inactive
@ryantownsend ryantownsend temporarily deployed to slowest-site-in-the-world May 6, 2018 09:16 Inactive
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