The set of image-related policies are currently named as:
image-compression
max-downscaling-image
unsized-media
legacy-image-formats
The naming is inconsistent although the policies are pretty closely related.
These policies are related to best practices, specifically detecting the bad practice. For best practice policies, the general idea is to name the policy-controlled feature as <bad thing to stop doing>, so that disabling the feature turns off the bad practice.
As well, there are existing Lighthouse audits for some of these practices, so it would be nice to align with that existing guidance.
Propose renaming the policies as follows:
- "image-compression" -> "unoptimized-images" (see https://developers.google.com/web/tools/lighthouse/audits/unoptimized-images)
- "max-downscaling-image" -> "oversized-images" (see https://developers.google.com/web/tools/lighthouse/audits/oversized-images)
Comment 1 by loonyb...@chromium.org
, Nov 5