4 ms·
Knowing where the viewport is relative to the document is pretty valuable; It means that AMP can defer loading potentially sluggish content until the viewport l
by JohnDotAwesome 10y ago
Knowing where the viewport is relative to the document is pretty valuable; It means that AMP can defer loading potentially sluggish content until the viewport lands on a particular position.
- Touche 10y agoSounds like a premature optimization to me. The websites I tried did not have such requirements but the scrolling was just as janky nonetheless.
- stonogo 10y agoIt's not premature optimization. It's optimization for ad revenue; they can charge more if they can prove an advertisement is visible on screen.
- deleted 10y ago[deleted]