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

Self-host google fonts #408

Open
000wan opened this issue Oct 5, 2023 · 0 comments
Open

Self-host google fonts #408

000wan opened this issue Oct 5, 2023 · 0 comments
Labels
improve New feature, new library, etc.

Comments

@000wan
Copy link
Member

000wan commented Oct 5, 2023

Problem

현재 구글 api로 웹 폰트를 받아오는데 이 방식이 웹페이지 로딩 시간에 영향을 줄 수 있다고 합니다.
사용하는 폰트들을 public 같은 폴더에 설치해서 self-hosting 하는게 좋을 것 같습니다. (라이센스 확인 필요)

References

https://fonts.google.com/knowledge/using_type/self_hosting_web_fonts

https://www.webpagetest.org/result/231005_AiDcES_800/2/experiments/#Quick

3rd-party requests are blocking page rendering.

By default, references to external JavaScript and CSS files will block the page from rendering. Third-party blocking requests are particularly risky, as your page's access relies on their response time and availability.'

https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined
https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700&display=swap
https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;700&display=swap

@000wan 000wan added the improve New feature, new library, etc. label Oct 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improve New feature, new library, etc.
Projects
None yet
Development

No branches or pull requests

1 participant