typekit / webfontloader

Web Font Loader gives you added control when using linked fonts via @font-face.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Resource Prioritization

PolGuixe opened this issue · comments

Open similar here: escaladesports/legacy-gatsby-plugin-web-font-loader#8

As per best practices: https://developers.google.com/web/fundamentals/performance/resource-prioritization?utm_source=lighthouse&utm_medium=devtools#preconnect

Would it be possible to add the rel prop in the generated link with the different options? Sometimes is required for performance optimization.

Lighthouse is signaling an "Opportunity" to optimize this. Lighthouse is giving me this message: "Consider adding preconnect or dns-prefetch resource hints to establish early connections to important third-party origins. Learn more." Trying to see if i can manually add this in the package.