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

[Float] support all links as Resources #25515

Merged
merged 2 commits into from
Oct 22, 2022
Merged

Commits on Oct 21, 2022

  1. Support all links as potential Resources

    every link that does not have an onLoad or onError prop and has a string href and string rel can be a resource
    
    on the server some of these generic link resources are privileged such as preconnect and prefetch-dns where they will be ordered at a higher priority for flushing.
    
    These generic link types key off rel, href, sizes, and media.
    
    In addition to these changes. preloads can now work for any as type. If the type is not for a recognized resource type then they fall back to generic link resource behavior.
    gnoff committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    9f7339a View commit details
    Browse the repository at this point in the history
  2. prefetch-dns -> dns-prefetch

    gnoff committed Oct 21, 2022
    Configuration menu
    Copy the full SHA
    8d26e62 View commit details
    Browse the repository at this point in the history