4.3 Compress files where it is beneficial
Hosting, Infrastructure, and Systems
Use compression on all appropriate resources either before or as part of the transfer process.
Criteria
- Server-side compression: Machine-testable
Use server-side compression to reduce file sizes before delivery. Server-side compression settings and tools can be used to compress most commonly used file types, reducing energy consumption while minimizing load times, saving bandwidth, and improving overall performance.- 10 Steps to Avoid Enormous Network Payloads
- Apache Configuration: .htaccess
- Apache Server Configs
- Cost of living: Impact of rising costs on disabled people
- Does GZIP Save CO2?
- Digital sustainability audits: a de facto standard for the Internet carbon footprint
- Enable Text Compression to Speed Up Your Website
- Fast Load Times: Optimize your images
- Front-End Performance 2021: Assets Optimizations
- Getting Real (small) With Compression Dictionaries
- GPF – General Policy Framework (PDF) – 1.7 – Strategy (Encryption)
- GPF – General Policy Framework (PDF) – 6.3 – Front-End (Resource Compression)
- How does data compression affect CO2 emission in Nginx?
- How to Optimized images for Faster Load Times and Sustainability
- How to tell if your site is gzipped
- HTTP Compression
- Impact of New and Emerging Internet Technologies on Climate Change and Human Rights (PDF)
- Internet Speeds by Country 2023
- NginX Server Configs
- Optimizing Encoding and Transfer Size of Text-Based Assets
- Page bloat update
- Reduce web font size
- Responsive images
- Supercharge compression efficiency with shared dictionaries
- Ten years of page bloat: What have we learned?
- The environmental impact of the web we build
- The Carbon Impact of Web Standards (PDF)
- Web Almanac: Sustainability
- Website carbon emissions
- What is page bloat?
- Who Killed My Battery: Analyzing Mobile Browser Energy Consumption (PDF)
- Media compression: Machine-testable
Use media compression tools to reduce the file size of images, videos, audio, and any other media before uploading to a server.- 10 Steps to Avoid Enormous Network Payloads
- Audacity
- Cost of living: Impact of rising costs on disabled people
- GPF – General Policy Framework (PDF) – 1.7 – Strategy (Encryption)
- GPF – General Policy Framework (PDF) – 6.3 – Front-End (Resource Compression)
- Handbrake
- How to Optimized images for Faster Load Times and Sustainability
- Internet Speeds by Country 2023
- Page bloat update
- Reduce web font size
- Squoosh
- SVG OMG
- Ten years of page bloat: What have we learned?
- The Carbon Impact of Web Standards (PDF)
- The Ultimate Guide to Image Optimisation
- Web Almanac: Sustainability
- What is page bloat?
Benefits
- Environment
Applying compression effectively reduces network demand, consequently lowering power consumption and carbon emissions. - Performance
Reducing data transfer volumes and data consumption delivers faster performance to all users. - Social Equity
Reduced reliance on a high-speed connection (which in many locations is unavailable).
GRI
- Materials: Low
- Energy: Low
- Water: Low
- Emissions: Low