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

Deliver fonts locally #48

Merged
merged 3 commits into from
Feb 3, 2022
Merged

Conversation

passw0rd123
Copy link
Contributor

@passw0rd123 passw0rd123 commented Feb 2, 2022

No longer use Google Fonts CDN and deliver fonts files locally. (Also mentioned in #34)

Downloaded fonts via https://google-webfonts-helper.herokuapp.com/fonts

  • Used latin charset
  • Used Best Support settings for now but maybe Modern Browsers is enough?

The woff and woff2 format is widely supported, so maybe other formats can be removed in the future to reduce the size of the css file. https://caniuse.com/woff

Resource downloaded from linked URL https://code.jquery.com/jquery-1.11.3.min.js
ecb916133a9376911f10bc5c659952eb0031e457f5df367cde560edbfba38fb8  jquery-1.11.3.min.js
@janraasch janraasch self-requested a review February 3, 2022 11:31
@janraasch janraasch merged commit 81d29af into zjedi:master Feb 3, 2022
@janraasch
Copy link
Collaborator

janraasch commented Feb 3, 2022

Hi @passw0rd123, this is absolutely lovely 💜. It feels like the whole page is a lot more snappier now in terms of initial page load time, see e.g. https://janraasch.github.io/hugo-scroll/ 🎉.

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

Successfully merging this pull request may close these issues.

2 participants