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

DBW: audit to check if app is respecting Save-Data: on header #718

Closed
ebidel opened this issue Sep 29, 2016 · 3 comments
Closed

DBW: audit to check if app is respecting Save-Data: on header #718

ebidel opened this issue Sep 29, 2016 · 3 comments

Comments

@ebidel
Copy link
Contributor

ebidel commented Sep 29, 2016

Audit could include:

Simple: We could also try a run with the header and without the header to see if the same number of bytes are transferred.

@addyosmani
Copy link
Member

A while back I tried doing this using a regular check of data from BigQuery/HTTPArchive on the average size of images used in webpages. It's not as scientific as it could be, but allows an "X is larger than this number is should definitely be smaller than" type check.

@ebidel
Copy link
Contributor Author

ebidel commented Nov 12, 2016

Big query:

SELECT AVG(bytesTotal) FROM [httparchive:runs.latest_pages_mobile] LIMIT 1000

https://bigquery.cloud.google.com/results/

@paulirish
Copy link
Member

This kind of ties in to perf budgets as we're asserting on transfer sizes...

But in order see that the site respects this, we'd have to load the site twice.

value: good.
implementation feasibility: good.
effect on LH run latency: bad.

@paulirish paulirish removed the P2 label Apr 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants