Permalink
Switch branches/tags
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (19 sloc) 2.78 KB

Overview of web standards and features related to AMP

Date: 2018-02-28

Standard/feature Relation Status
Web Packaging Privacy-preserving preloading from cache under publisher URL Active drafting, IETF concensus seeking
Iframe promotion AMP Carousel like UI with navigation to publisher Under discussion in WICG
Portals AMP Carousel like UI with navigation to publisher (alternative to iframe promotion) Early proposal
Performance Timeline Real world metric collection. This is the framework. New metrics may be needed. Shipping in first browsers
Paint Timing 1 Initial paint related metrics (performance assessment Shipping in first browsers
Perf metric: (Initial) Layout stability Metric for how often layout changes without user action based on elements resizing (such as when an unsized image loads or an iframe resizes) Discussing feasibility with implementers
Perf metric: Expected Queueing Time Metric for how long it takes for main thread to react to user action Feasibility exploration
Iframe performance isolation Possible under current standards, but requires browsers to implement. Reduces need for embeds to behave well Chrome has 2 efforts in progress (Site isolation, cooperative multitasking). Other browser plans unknown.
Feature Policy Allows web pages to turn off legacy features or opt into new behavior. This is the framework. New policies may be needed Shipping in first browsers
Transfer size policy: Limit amount of main thread JS Incentivize off-main-thread computation. Just an idea.
Feature Policy: Prevent navigation without user action Similar to iframe sandbox but for top level window. Just an idea.
CSP: Stricter CSP in pre-render mode Allow pages to restrict and make it observable what they cannot do when being pre-rendered. Just an idea.
Feature Policy: No unsized media Prevent media (images) to resize based on intrinsic size Under discussion
Feature Policy: No uncomposited animations Allow pages to opt into only running animations that can be composited on the GPU. Just an idea.
Responsive image preload Allows pre-loading of responsive images. Under discussion. In Chrome behind a flag.