Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Write out resource hints in a sensible order #8

Open
theetrain opened this issue Apr 11, 2017 · 0 comments
Open

Write out resource hints in a sensible order #8

theetrain opened this issue Apr 11, 2017 · 0 comments
Milestone

Comments

@theetrain
Copy link
Owner

theetrain commented Apr 11, 2017

In the html file's <head>, resource hints ought to be written out in this order for maximum performance:

  • preload
  • prerender
  • dns-prefetch
  • preconnect
  • prefetch

User-submitted entries can accept an object by default, and they'll be written out as above. If they prefer, they can submit an array.

@theetrain theetrain added this to the 1.0.0 milestone Apr 24, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant