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

Google Fonts Handling / Improvements / PreFetching #413

Closed
YaWK opened this issue Jan 16, 2024 · 1 comment
Closed

Google Fonts Handling / Improvements / PreFetching #413

YaWK opened this issue Jan 16, 2024 · 1 comment
Assignees
Labels
Improvement Improvement in any kind of way

Comments

@YaWK
Copy link
Owner

YaWK commented Jan 16, 2024

This issue holds all the Google Fonts related Stuff that has to do with handling, improvement or pre-fetching.

About prefetching:
DNS prefetching
A DNS or domain name server converts IP addresses in readable website URLs such as yourwebsite.com. Whenever a user requests an asset being hosted on a particular domain they must perform a DNS lookup and find which domain name that IP address belongs to. This process takes time and the most DNS lookups that are required, the longer your visitors will be waiting for a page to load.

DNS prefetching allows the browser to perform the DNS lookups for links on a page in the background while the user browses the current page. This minimizes latency as when the user clicks on a link with DNS prefetch enabled, they do not have to wait for the DNS lookup to take place as it already has.

DNS prefetch can be added to a specific URL by adding the rel= tag to the link attribute like so:

Similar to link prefetch, DNS prefetch has also been adopted by most modern browsers. As seen on:
https://www.keycdn.com/img/support/browser-support-dns-prefetch-lg@2x.webp

@YaWK YaWK added the Improvement Improvement in any kind of way label Jan 16, 2024
@YaWK YaWK added this to the System Settings: Font Management milestone Jan 16, 2024
@YaWK YaWK self-assigned this Jan 16, 2024
YaWK added a commit that referenced this issue Jan 16, 2024
@YaWK
Copy link
Owner Author

YaWK commented Jan 16, 2024

This needs to be measured. But for now, it's done and will be closed.

@YaWK YaWK closed this as completed Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Improvement Improvement in any kind of way
Projects
None yet
Development

No branches or pull requests

1 participant