Roy Derks
How Your Bundle Size Affects The Climate
#1about 1 minute
The growing impact of websites on the climate
The increasing size and usage of websites have a direct and growing impact on global energy consumption and the climate.
#2about 3 minutes
Website size and data center energy consumption are exploding
The average website is four times larger than a decade ago, and data centers now account for a significant percentage of national energy usage.
#3about 6 minutes
How modern internet usage habits drive data consumption
Increased daily screen time, the shift to mobile-first browsing, and the rise of e-commerce are key drivers of higher internet data consumption.
#4about 4 minutes
Why large JavaScript bundles are bad for users and the planet
Large JavaScript bundles not only create slow user experiences by consuming bandwidth but also strain device CPUs, increasing energy use on both ends.
#5about 4 minutes
Comparing the simple web of the past to today's complex sites
A look back at websites from a decade ago reveals a shift from simple text and low-res images to today's media-rich, interactive, and heavier applications.
#6about 6 minutes
The shift from jQuery to modern JavaScript frameworks
Web development has evolved from using jQuery for simple interactions to building entire applications with powerful but heavier frameworks like React, Angular, and Vue.
#7about 5 minutes
Measuring a website's carbon footprint with online tools
Tools like Website Carbon estimate a site's environmental impact by analyzing data transfer, CPU intensity, and the data center's energy source.
#8about 5 minutes
Case study of a bloated website's high carbon footprint
Analyzing a deliberately heavy website with a 10MB bundle reveals a massive carbon footprint, equivalent to driving an electric car for thousands of kilometers.
#9about 4 minutes
Case study of a minimal website's low carbon footprint
In contrast, a simple static HTML site with a tiny 20KB footprint is shown to be extremely energy-efficient, requiring almost no carbon offset.
#10about 5 minutes
Using static site generators and Jamstack for efficiency
Building websites with static site generators (SSGs) and the Jamstack architecture pre-renders pages, resulting in smaller bundles and faster performance.
#11about 4 minutes
Understanding Jamstack architecture and incremental static generation
The Jamstack decouples the frontend from backend services, and incremental static generation (ISG) optimizes build times for very large sites.
#12about 3 minutes
Compressing assets with Gzip and Brotli for smaller transfers
Implementing server-side compression like Gzip, and especially the more efficient Brotli, significantly reduces the amount of data transferred to the user.
#13about 3 minutes
Implementing code splitting and lazy loading for faster initial loads
Code splitting with dynamic imports and lazy loading components ensures that users only download the JavaScript they need for the current view.
#14about 2 minutes
Choosing a hosting provider that uses green energy
The final step in reducing a website's environmental impact is to host it in a data center that is powered by renewable, green energy sources.
Related jobs
Jobs that call for the skills explored in this talk.
Matching moments
04:21 MIN
Reducing JavaScript's impact with smaller bundles
Sustainable me. A tale of good design.
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
02:44 MIN
The performance problem with modern web applications
Qwik: Making sure that easy is same as performant
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
03:30 MIN
Analyzing the carbon footprint of different websites
Sustainable me. A tale of good design.
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
04:58 MIN
Debunking myths about styling and bundle size
But, you're not Facebook
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
03:05 MIN
Executing JavaScript and optimizing the bundle
The Journey of a Pixel in a React Application
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
01:20 MIN
The key takeaway is to ship less JavaScript
The Lean Web
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
01:57 MIN
The two primary approaches for improving frontend performance
To New Frontiers: The Future of Frontend Development
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
06:23 MIN
How to measure a website's carbon emissions
Reducing the carbon footprint of your website
Unlock Moments
Create a free account to watch a limited number of Moments each month.
Upgrade to PRO for unlimited access to the full archive.
Upgrade to PRO for unlimited access to the full archive.
You have an account? Log in
Featured Partners
Related Videos
Web development best practices in 2021
Laurie Voss
The Eternal Sunshine of the Zero Build Pipeline
M4dz
Catching up on the basics you don't really need that much code
Chris Heilmann
Reducing the carbon footprint of your website
Ines Akrap
Sustainable me. A tale of good design.
Lorenzo Pieri
A Practical Guide to Reducing Bundle Size
Stephen Cooper
Web development: where are we, and where are we going?
Laurie Voss
Jamstack and Web Performance, a match made in heaven
Tamas Piros
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Speech Processing Solutions
Vienna, Austria
Intermediate
CSS
HTML
JavaScript
TypeScript

doinstruct Software GmbH
Berlin, Germany
Senior
GIT
JavaScript
TypeScript

Zebresel - Deine Agentur für d igitale Medien.
GIT
HTML
Vue.js
Node.js

tarent solutions GmbH
GIT
HTML
Vue.js

tarent solutions GmbH
GIT
HTML
Vue.js

tarent solutions GmbH
GIT
HTML
Vue.js

Vesterling Consulting GmbH
Köln, Germany
Remote
HTML
Node.js

Brik
Venlo, Netherlands
MySQL
Vue.js
Node.js
GraphQL
TypeScript
