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

Sustainability2024 Chapter #3794

Open
wants to merge 84 commits into
base: main
Choose a base branch
from
Open

Conversation

ldevernay
Copy link
Contributor

@ldevernay ldevernay commented Oct 18, 2024

Fixes #3611

Staged version: https://sustainability-2024-dot-webalmanac.uk.r.appspot.com/en/2024/sustainability

This is a first version of the markdown file for the Sustainability chapter.
We're still missing :

  • Some bios from contributors
  • Descriptions for diagrams (left as "TODO")
  • Some diagrams that could not be found in the spreadsheet : responsiveness/srcset and non-composited animations per page (both identified as "TODO")
  • sql_file for all diagrams until PR is available for queries

Copy link
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 21.6%, saving 172.48 KB.

Filename Before After Improvement Visual comparison
src/static/images/2024/sustainability/carbon-emissions-by-percentile-2022.png 17.45 KB 14.23 KB -18.4% View diff
src/static/images/2024/sustainability/carbon-emissions-by-percentile-2024.png 17.75 KB 14.28 KB -19.6% View diff
src/static/images/2024/sustainability/cdn-usage.png 38.09 KB 28.05 KB -26.3% View diff
src/static/images/2024/sustainability/emissions-by-percentile-by-type-desktop.png 19.83 KB 13.85 KB -30.1% View diff
src/static/images/2024/sustainability/emissions-by-percentile-by-type-mobile.png 19.63 KB 13.62 KB -30.6% View diff
src/static/images/2024/sustainability/favicon-usage.png 27.73 KB 20.41 KB -26.4% View diff
src/static/images/2024/sustainability/green-third-party-requests.png 21.43 KB 15.09 KB -29.6% View diff
src/static/images/2024/sustainability/image-format-adoption-2-year-change.png 16.22 KB 13.31 KB -17.9% View diff
src/static/images/2024/sustainability/image-format-adoption.png 22.67 KB 20.95 KB -7.6% View diff
src/static/images/2024/sustainability/kilobytes-by-percentile-by-type-mobile-.png 15.94 KB 12.65 KB -20.6% View diff
src/static/images/2024/sustainability/kilobytes-by-percentile-by-type-mobile.png 15.94 KB 12.65 KB -20.6% View diff
src/static/images/2024/sustainability/kilobytes-per-type.png 26.16 KB 17.62 KB -32.7% View diff
src/static/images/2024/sustainability/lazy-loading-adoption.png 15.86 KB 14.03 KB -11.5% View diff
src/static/images/2024/sustainability/median-emissions-by-cms-2022.png 25.27 KB 19.37 KB -23.4% View diff
src/static/images/2024/sustainability/median-emissions-by-cms-2024.png 23.91 KB 19.78 KB -17.3% View diff
src/static/images/2024/sustainability/median-emissions-by-cms-and-resource-type.png 26.45 KB 19.00 KB -28.2% View diff
src/static/images/2024/sustainability/median-emissions-by-ecommerce-2022.png 30.06 KB 25.19 KB -16.2% View diff
src/static/images/2024/sustainability/median-emissions-by-ecommerce-2024.png 29.13 KB 24.47 KB -16.0% View diff
src/static/images/2024/sustainability/median-emissions-by-ssg-2022.png 24.93 KB 19.75 KB -20.8% View diff
src/static/images/2024/sustainability/median-emissions-by-ssg-2024.png 27.81 KB 20.43 KB -26.5% View diff
src/static/images/2024/sustainability/median-kilobytes-by-cms-and-resource-type.png 24.96 KB 19.33 KB -22.6% View diff
src/static/images/2024/sustainability/median-kilobytes-by-cms.png 28.07 KB 21.34 KB -24.0% View diff
src/static/images/2024/sustainability/median-kilobytes-by-ecommerce.png 35.71 KB 27.88 KB -21.9% View diff
src/static/images/2024/sustainability/median-kilobytes-by-ssg.png 26.89 KB 20.58 KB -23.5% View diff
src/static/images/2024/sustainability/number-of-kb-by-percentile.png 19.31 KB 15.32 KB -20.6% View diff
src/static/images/2024/sustainability/number-of-requests-by-percentile-and-type-mobile.png 18.60 KB 13.93 KB -25.1% View diff
src/static/images/2024/sustainability/number-of-requests-by-percentile.png 19.20 KB 14.30 KB -25.5% View diff
src/static/images/2024/sustainability/percent_green_hosting.png 18.35 KB 13.15 KB -28.3% View diff
src/static/images/2024/sustainability/style-usage.png 15.45 KB 13.16 KB -14.9% View diff
src/static/images/2024/sustainability/text-compression.png 20.27 KB 17.32 KB -14.5% View diff
src/static/images/2024/sustainability/unminified-css-savings.png 13.90 KB 11.25 KB -19.1% View diff
src/static/images/2024/sustainability/unminified-js-savings.png 15.62 KB 13.01 KB -16.7% View diff
src/static/images/2024/sustainability/unused_css.png 17.82 KB 14.53 KB -18.5% View diff
src/static/images/2024/sustainability/unused_js.png 19.79 KB 16.39 KB -17.2% View diff
src/static/images/2024/sustainability/video-autoplay-usage.png 20.79 KB 17.17 KB -17.4% View diff
src/static/images/2024/sustainability/video-preload-usage.png 21.90 KB 18.99 KB -13.3% View diff

2036 images did not require optimisation.

@@ -8,7 +8,7 @@
STATIC_DIR = ROOT_DIR + "/static"

SUPPORTED_YEARS = []
DEFAULT_YEAR = "2022"
DEFAULT_YEAR = "2024"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert before merging - this is just to allow it to be served on staging

@@ -4,7 +4,7 @@ const convert = require('xml-js');

const { get_yearly_configs } = require('../generate/shared');

const default_year = 2022;
const default_year = 2024;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert before merging - this is just to allow it to be served on staging

Copy link
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 14.5%, saving 2.96 KB.

Filename Before After Improvement Visual comparison
src/static/images/2024/sustainability/cache-control-header-usage.png 20.43 KB 17.47 KB -14.5% View diff

2074 images did not require optimisation.

src/content/en/2024/sustainability.md Outdated Show resolved Hide resolved
src/content/en/2024/sustainability.md Outdated Show resolved Hide resolved
@lebreRafael lebreRafael marked this pull request as ready for review October 28, 2024 11:07
Copy link
Contributor

Images automagically compressed by Calibre's image-actions

Compression reduced images by 26.2%, saving 16.29 KB.

Filename Before After Improvement Visual comparison
src/static/images/2024/sustainability/video-autoplay-usage.png 62.09 KB 45.80 KB -26.2% View diff

2074 images did not require optimisation.

@tunetheweb tunetheweb changed the title Sustainability2024 markdown Sustainability2024 Chapter Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
writing Related to wording and content
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sustainability 2024
5 participants