News for hackers. Stuff that matters.
Re:Native image lazy-loading for the web by LoSboccacc on Sunday April 07, 2019 @01:35PM (#19598415)
the correct way would be to still load images out of view and prioritize those in view.

but I'm also worried about the "unloading" of these resources. with a proper implementation you don't only load first images into view and preload the others, but also unload those out of view to ease the compositing load on older gpu - and older iphones that have most their ram eaten by the updated ios are really problematic, especially because when the gpu crashes with an out of memory error safari shows a "the website crashed" message that puts the blame on the page instead on its own shitty memory management.

There are no comments on this comment yet.