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

Auto-add preload to <head> #43

Open
RoelN opened this issue Feb 11, 2020 · 2 comments
Open

Auto-add preload to <head> #43

RoelN opened this issue Feb 11, 2020 · 2 comments

Comments

@RoelN
Copy link
Collaborator

RoelN commented Feb 11, 2020

As per https://www.zachleat.com/web/preload/

@pascalw
Copy link
Contributor

pascalw commented Feb 13, 2020

How would this practically work @RoelN? A preload directive for every font in src/fonts could be nice, but also not what you want in all cases (for example if the font is not used).

@RoelN
Copy link
Collaborator Author

RoelN commented Feb 13, 2020

I think for a specimen it's a special case: the whole point of the entire site is to show that font, so the sooner it loads, the better.

If developers somehow feed the setup process with fonts they're not using, I don't think it's the setup process' responsibility to fix that, right?

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

No branches or pull requests

2 participants