Feature Policy: lazyload

The lazyload feature policy allows developers to selectively control the lazyload attribute on <iframe> and <img> using the Feature-Policy header or the <iframe> "allow" attribute. This provides more control over loading delay for embedded contents and images on a per origin basis. Use this policy to force loading to delayed or non-delayed for your entire website and all or parts of any embedded contents. Use of this policy benefits page load times.

Comments

The identifier for the feature in policies is "lazyload". By default, the feature is set to "auto" for all domains which would leave the current lazyload behavior unaltered (that is, the value of lazyload attribute on the element is used unless the attribute is undefined in which case user agent decides the behavior).

Documentation

Status in Chromium

Blink>FeaturePolicy


In development (tracking bug)

Consensus & Standardization

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

  • No public signals
  • No public signals
  • No public signals
  • Positive

Owners

Last updated on 2018-08-03