← Back to release summary

Document Policy: Oversized images

Category
Multimedia
Type
New or changed feature
Status
No active development (Chrome No active development)
Intent stage
None

Summary

Allows developers to selectively enable and disable the use of images whose sizes that are much bigger than the containers' through the Feature-Policy HTTP header or the <iframe> 'allow' attribute. This provides more control over images with unnecessarily large intrinsic size, on a per-origin basis. Use this policy to improve image loading performance. The identifier for the feature in policies is 'oversized-images'. By default, 'oversized-images' is allowed in all frames.

Standards & signals

Ecosystem

Docs: https://github.com/w3c/webappsec-feature-policy/blob/master/policies/optimized-images.md#oversized-images-policy

Samples: https://feature-policy-demos.appspot.com/oversized-images.html?on

View on chromestatus.com