Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Chrome The Internet

Built-in Lazy Loading Lands in Google Chrome Canary (bleepingcomputer.com) 57

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.
This discussion has been archived. No new comments can be posted.

Built-in Lazy Loading Lands in Google Chrome Canary

Comments Filter:
  • by Anonymous Coward on Tuesday August 14, 2018 @01:06PM (#57124706)

    Tells us the exact names of the config flags, doesn't even explain what lazy loading is. More like lazy editing.

    • by rossdee ( 243626 )

      Dunno, I don't use Chrome, and this story makes it even less likely that I would do so.

      I don't even know what Chrome canary is. Is it canary in a coal mine, or singing like a canary?

      • Chrome Canary is the unstable nightly build of the Google Chrome web browser, akin to Firefox Nightly.

      • Lazy loading is a standard part of http/2 standard.
        The idea behind it is that a web site can decide to send you images, code,etc before you have actually requested it or need it. That way when you do request it you will get quicker web page viewing.
        The security issue with it is that an evil web site could decide to sent you evil images, code,etc that then when your computer is being looked at those evil items could show up. Currently, no browsers provide a way for an investigator to see if it is someth
        • by halivar ( 535827 )

          No, what you are describing is Server Push, which has nothing to do with this. Lazy load, in this context, means the browser does not request elements that would be rendered off screen ("below the fold") until they are needed.

    • 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).

      • Oh, that is the worst!

        instead of one time waiting a little longer, not when I scroll it stops every couple of seconds.

        I HATE it when sites do that.

        Especially if it's a shopping site, I can scroll quite quick deciding what I want to buy or not, and whenever I hit back after adding to cart, the place is lost.

        • instead of one time waiting a little longer, not when I scroll it stops every couple of seconds.
          I HATE it when sites do that.

          You think you hate it? I'm on satellite. For every request needed to accomplish the lazy load, I get another second or more of latency added on just for round trip time.

        • Comment removed based on user account deletion
        • Worst is that every site out there combines lazy loading with infinite scrolling. These two things alone have basically destroyed surfing the Internet and should die in a fire immediately.

          Also, I hate how lazy loading screws up my scrollbars and makes me constantly lose my reading position. I have a tendency to hold down the mouse button to scroll, and lazy loading makes that scrolling method impossible. If anything else, could web browser developers try to (optionally) implement dynamic scroll bars that

      • 3. You have to wait for things to load when you go to actually look at the content
    • *THIS*
      If I can take minimal time to write an concise & descriptive email with audience=1, surely a journalist can take the time to write a descriptive summary with an audience of 1,000's +

      I suspect there is copy/pasting going on here.
      I think we should name this "copy/.pasting"
    • "Tells us the exact names of the config flags, doesn't even explain what lazy loading is. "

      I'm a lazy loader. I'm too lazy to load anything anywhere.
      I always feign sciatica or a thrown back.
      Now I can just change a setting.

  • by SB5407 ( 4372273 ) on Tuesday August 14, 2018 @02:09PM (#57125300)

    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?

  • So, does this fix the "soak up every goddamn CPU cycle and peg all 4 cores" problem?

    Asking for a friend

  • They should be THE LAST thing that loads, if you aren't using a blocker.
    • by tepples ( 727027 )

      If a website's sponsors can't get their message through, would you prefer a paywall on the document you are trying to read, as well as paywalls on the next three or four comparable search results?

Genius is ten percent inspiration and fifty percent capital gains.

Working...