Automattic / Automattic/jetpack

Boost: Respect Save-Data header and tweak feature behavior

Open
#20,565 0 comments 0 reactions 0 assignees View on GitHub
[Plugin] Boost New Feature
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Some of our optimizations use extra bandwidth to improve performance (e.g. critical css, or in the future preloading links). We should respect the user's preferences and not cost them extra money. It's implemented in most browsers.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Save-Data

#### TODO
- [ ] Catalog the features which may cause extra bandwidth use (e.g.: Critical CSS)
- [ ] Explore the impact of turning these features off when the `Save-Data` header is in use.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by cataloging optimizations that may increase bandwidth, then investigate how those features should behave when the Save-Data header is present; done means the affected features and their expected behavior are documented.

Written by the indexing model from the issue text.

Assessment

Domain
performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.