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
- Firefox: No signal
- Safari: No signal
- Web developers: No signals
- Tracking bug: https://crbug.com/874110
Ecosystem
- Web Platform Tests: https://wpt.fyi/results/?q=document-policy-oversized-images
- Chrome Platform Showcase: https://chrome-platform-showcase.paulkinlan-ea.deno.net/features
- GenDN reference: https://gendn.paulkinlan-ea.deno.net/features
- chrome.dev demos search: https://www.google.com/search?q=site%3Achrome.dev+Document%20Policy%3A%20Oversized%20images
- MDN Web Docs: https://developer.mozilla.org/en-US/search?q=Document%20Policy%3A%20Oversized%20images
- Baseline status: https://webstatus.dev/?q=Document%20Policy%3A%20Oversized%20images
Samples: https://feature-policy-demos.appspot.com/oversized-images.html?on