A practical guide to implementing the upcoming `prefers-reduced-data` CSS media query to serve lighter web experiences to users on slow connections or with data caps. Covers why data reduction matters globally, the current state of browser support (none yet, but emulatable), and concrete implementation strategies: conditionally loading web fonts, serving smaller or no background images, using the `<picture>` element for responsive images, preventing video autoplay/preload, and replacing infinite scroll with a load-more button. Also covers the existing `Save-Data` header and the Network Information API as current alternatives, plus how to test using Polypane or Chromium flags.

13m read timeFrom polypane.app
Post cover image
Table of contents
Watch as videoWhy reduce data?Browser supportReduced data for usersStrategies for implementing prefers-reduced-dataWhat to use prefers-reduced-data forTesting with Polypane and ChromiumIn the wild