-
Notifications
You must be signed in to change notification settings - Fork 142
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
Reduce carbon footprint of the website #389
Comments
It seems like the test you checked was outdated by their standards. I did a re-test and it's dropped to F (we rewrote the backend of the site since it was previously tested). To be honest, I've tested performance for the site using Google's tools (Lighthouse), and the Zen website gets good performance results. |
btw @KyleDL101 only thing i can see that can be optimized alot is the fonts |
@NOCanoa Agreed, the fonts are the only thing that is concerning. |
Hi @KyleDL101, I managed to reduce the size of both It's likely possible to make them even smaller, but that would increase maintenance overhead, as a new subset would need to be generated frequently. According to the Junicode manual: 8.1. Subsetting Junicode
Let me know if you'd like more details about the subsetting process or any other adjustments! |
Hi @flyri0, That's great! Did you use pyftsubset for this, or something else? Also, please feel free to open a PR with the subset font files. This is a good change to have. |
@KyleDL101 Yes, I used glyphhanger to generate a unicode range based on the main New York Times website (since the website is currently English-only). After that, I used Today, I managed to reduce the size even further (15 KB for each set), but I’ll run a few more tests before opening the PR. |
@flyri0 Sounds great. Just remember that we do have accent characters in the about us page. Although I think you've already included that but just making sure. Thanks for the work! |
From the status page tool, I found out there is a website to check how carbon friendly a website is.
The test gives me an E rating, which is pretty bad, but acceptible.
I don't think that this has big priority, but maybe it would make sense to do some optimizations if it doesn't change to much on the website.
It isn't just sustainability, it is also about improving performance.
Less loading time => Less carbon footprint & more performance
Some resources linked to that:
https://beleaf.au
https://sustainablewebdesign.org
The text was updated successfully, but these errors were encountered: