Built-in Lazy Loading Lands in Google Chrome Canary (bleepingcomputer.com)
secwatcher writes: Google has started rolling out support for built-in lazy loading inside Chrome. Currently, support for image and iframe lazy loading is only available in Chrome Canary, the Chrome version that Google uses to test new features. Two flags are now available in the chrome://flags section of Chrome Canary. They are: chrome://flags/#enable-lazy-image-loading, chrome://flags/#enable-lazy-frame-loading. Enabling these two flags will activate a new type of content loading behavior inside the Chrome browser. The two flags have been available in Chrome Canary for a few days, since v70.0.3521.0.
Tells us the exact names of the config flags, doesn't even explain what lazy loading is. More like lazy editing.
In the web platform, lazy loading means don't download anything until the user scrolls to it.
A lot of websites have implemented their own lazy loading in JavaScript for two reasons. One is improving perceived page load time by prioritizing the first screenful of the document. The other is saving server bandwidth (and client bandwidth for users on metered cellular Internet) by not serving large images that the user is not likely to view. But two drawbacks of this sort of lazy loading are 1. incompatibility with clients that do not use JavaScript and 2. incompatibility with clients that download a page over unmetered home Internet for later reading while offline or while on metered cellular Internet (such as while riding the bus).
Chrome Canary is the unstable nightly build of the Google Chrome web browser, akin to Firefox Nightly.
I'd like to know if the Lazy Loading function of deferring loading images and third-party iframes on the page until the user scrolls near them breaks Ctrl+F/"find in page".
Google had to re-do "Print" and "Save Page As" in order to support Lazy Loading. Did they also make Ctrl+F work or not?
Unless it is dynamically loaded content Ctrl-F will work just fine as the text of the document has still been fully download, just not necessarily all the images it describes.
"Wait. Something's happening. It's opening up! My God, it's full of apricots!"
Ah, but what about text in third party iframes?
1. So how does Print / Save to PDF work?
2. The browser does not know if I am going to view the page offline later.
Fuck third party iFrames.
(my opinion as a regular user)
...gis sdrawkcab (usually not responding to ACs; don't bother posting as AC)
Look at a bunch of immigrants loading an 18-wheeler. THAT is what lazy loading is! /joke - yeah I know, politically incorrect, well guess what I'm Romanian so it doesn't apply.
...gis sdrawkcab (usually not responding to ACs; don't bother posting as AC)
How about them endless scrolling PoS websites?
...gis sdrawkcab (usually not responding to ACs; don't bother posting as AC)
So, does this fix the "soak up every goddamn CPU cycle and peg all 4 cores" problem?
Asking for a friend
Suppose you were an idiot and suppose you were a member of Congress
They should be THE LAST thing that loads, if you aren't using a blocker.
Having a document loaded in a tab, as opposed to a bookmark, makes it more likely that you will remain able to read the document while your user agent is offline. It also saves the state of the document beyond what the developer chose to incorporate in the URL, such as the POST data that led to a particular view or the changes made by script to the DOM.
Some websites' operators may not want non-subscribers to print documents or read them offline. The following assumes the point of view of such websites:
1. So how does Print / Save to PDF work?
First you sign up for a recurring monthly payment on each website whose documents you want to print. Then you can download the document in PDF form from the website. If you try to print without first subscribing, the site may put garbage all over the printed version to make it less desirable, as the ads served along with the document are targeted to your interests, not to those of subsequent readers. Ars Technica is like this.
2. The browser does not know if I am going to view the page offline later.
The website treats offline reading as a perk for subscribers. If you don't want to subscribe to a website, you can avoid going offline in the first place by paying a cellular ISP for a subscription to cellular Internet access. Bores DSP is like this.