News for hackers. Stuff that matters.
Re:The specification for native image lazy-loading is merged... by gjsman-1000 on Wednesday February 12, 2020 @11:00PM (#22315229)
This is hands-down the best part of this for me. I can't stand Medium.com and blogs like it, because the images are almost always smeary placeholders unless I want to wait for, like, a whole 60 seconds. And my internet connection is 18mbps! I'd turn off lazy loading in a heartbeat!
Re:The specification for native image lazy-loading is merged... by taeric on Thursday February 13, 2020 @02:25AM (#22315971)
Won't turning off lazy loading just make the whole page go slower to load? You are having to queue up connections at some level, just saying not to do it lazily is just asking to download a ton of crap you could skip out on. Or worse, putting it in contention with the rest of the stuff you are downloading. (Imagine opening several tabs on large stories with tons of images now set to eager load. First thing the browser will likely do, is ignore requests from other tabs. Then, you are just back to the game of the page not loading till you get to that tab.)
Re:The specification for native image lazy-loading is merged... by radarsat1 on Thursday February 13, 2020 @05:18AM (#22316614)
My use case is predownloading an article before getting on the subway. Sure it's better to lazy load the images in the common case, but the rare cases where the equations and explanatory diagrams are just blurry smears when you are out of 3g range are really annoying. Having the whole article + images download in the background while you are on another tab would be just fine in those cases. As it stands, I have to pre-swipe an entire Medium article and then go all the way back up to start reading it, if I want to make sure I can keep reading it when the subway is in certain parts of the track.
Re:The specification for native image lazy-loading is merged... by IggleSniggle on Thursday February 13, 2020 @07:34AM (#22317216)
I just have a bad/unreliable connection, and wish websites would GET while the GETtin is good.
Re:The specification for native image lazy-loading is merged... by taeric on Thursday February 13, 2020 @11:09AM (#22318800)
Strictly, I'd agree it is better to preload all content for the article. Sadly, that shouldn't include pictures there just for space. Would be a neat audit to do daily. How many images downloaded contributed to your stories or day?