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 link preload to headComponents #558

Merged
merged 4 commits into from
Nov 17, 2016
Merged

Add link preload to headComponents #558

merged 4 commits into from
Nov 17, 2016

Conversation

KyleAMathews
Copy link
Contributor

This tells the browser to start downloading scripts at the top of the page
which speeds the time-to-interactivity (as otherwise the browser wouldn't discover the script tags until after parsing the body). Idea borrowed from good folks at Flipkart.com.

Good primer
https://www.smashingmagazine.com/2016/02/preload-what-is-it-good-for/

Only implemented in chrome atm but other browsers coming along — https://webkit.org/status/#feature-preload

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.

1 participant