Feature Policy: Unoptimized images

Allows developers to selectively enable and disable the use of images with large byte-per-pixel ratio (compression ratio) through the Feature-Policy HTTP header or the <iframe> 'allow' attribute. This provides more control over minimizing image file size, on a per-origin basis. Use this policy to optimize image loading experience. The identifier for the feature in policies is 'unoptimized-images'. By default, 'unoptimized-images' is allowed in all frames.

Demo

Documentation

Status in Chromium

Blink>FeaturePolicy


In developer trial (Behind a flag) (tracking bug) in:

  • Chrome for desktop release 72

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • No signal
  • No signal
  • No signals

Owner

Last updated on 2020-10-17