On Android Chrome with Data Saver turned on, elements with loading="auto" or
unset will also be lazily loaded if Chrome determines them to be good
candidates for lazy loading (according to heuristics).
I don't agree with this design decision to make the default ("or unset...") allow for lazy loading, even if limited to Data Saver enabled phones. Doesn't this mean every site on the planet that deems Android >= 7.0 web traffic important and makes use of pixel-based or iframe-enclosed tracking will have to go through testing and potential modification?Chrome to get lazy load below-the-fold images and iframes
21–30 of 69 posts
Re: Chrome to get lazy load below-the-fold images and iframes
#22Re: Chrome to get lazy load below-the-fold images and iframes
#23I never actually implemented it, though, just seemed like a nice idea. Anyone know if existing data fetching frameworks (e.g. Apollo Client) can do anything like that?
Re: Chrome to get lazy load below-the-fold images and iframes
#24The downside of this is that it assumes that I am always online, and I can never know if a page has finished loading. Say I load an article in a background tab to read later, then go somewhere without WiFi like, say, an airplane. I read the first page, hit the space bar, and see gray boxes. Now I need to either scroll all the way through any article I want to read later (unless "infinite scroll" happens), or save it…
Re: Chrome to get lazy load below-the-fold images and iframes
#25Re: Chrome to get lazy load below-the-fold images and iframes
#26The new attribute’s value names look poorly chosen. “Lazy” and “eager”. Why don’t they use existing vocabulary like “deferred“ for lazy, and a new, equally professional word for eager.
You must have heard "lazy" before, but eager is a term of art as well: https://en.wikipedia.org/wiki/Eager_evaluation
Re: Chrome to get lazy load below-the-fold images and iframes
#27The new attribute’s value names look poorly chosen. “Lazy” and “eager”. Why don’t they use existing vocabulary like “deferred“ for lazy, and a new, equally professional word for eager.
Re: Chrome to get lazy load below-the-fold images and iframes
#28Re: Chrome to get lazy load below-the-fold images and iframes
#29* "Speed up the load of above-the-fold content, since there will be less competition for network resources during the initial page load"
Why don't they just set a low priority for offscreen images and resources? Isn't this the entire premise for HTTP/2, that multiplexing with priorities and flow control would load the important data first? Do servers not implement the spec correctly? So this reason is BS as the data saved is immaterial.
* "Reduce memory usage."
Even commodity phones come with several gigabytes of RAM, the memory may have to be used anyway if the user scrolls, and if you have unlimited scroll or massive scroll something will need to unload data anyway. So this reason is marginal at best.
* "Save network data by avoiding downloading any deferred content that the user doesn't end up scrolling to"
Most phone plans are unlimited or have data capable of watching movies. On Google's own Fi plan "less than 1% of individual Fi users ... use above 15 GB". So this is another BS reason as the data saved is immaterial.
So why are they actually pushing this?
Under "privacy considerations": "so slightly more information about the user's scrolling position on the embedding page is exposed" and "a deferred cross-origin image gets an additional piece of information about the user's scrolling position".
This is not hard to figure out - they are barely even trying to hide it. Same thing as pushing HTTP/2, which I contend was at least partly to track people using socket IP:port address (for instance by keeping a single connection to google-analytics open that all domains' data goes through and boosting the connection keep alive from a few minutes to like half an hour, which they did).
Re: Chrome to get lazy load below-the-fold images and iframes
#30How is this only now getting implemented? I’m very surprised. Also, do we yet unload images (from memory) after a user scrolls far past them? I’m always surprised how slow “long” webpages become.