-
lazy loading of images
Which I covered already.
It delays loading of images until you scroll past.
But we use fragments
#
to jump to commentshttps://www.lfgss.com/conversations/131364/?offset=7350#comment16695421
so you get taken to the new comment.If I add lazy loading, the act of jumping to a comment is to scroll past all previous content... trigger the loading of all images... and move the comment you were wanting to view downwards as each prior comment loaded.
I consciously didn't add that stuff to this forum... because the last forum software did that, and it's super frustrating.
-
If I add lazy loading, the act of jumping to a comment is to scroll past all previous content... trigger the loading of all images... and move the comment you were wanting to view downwards as each prior comment loaded.
Are you doing something weird with JavaScript, because modern browsers are very good at maintaining viewport position while assets load around it.
And how does lazy loading make a difference in this scenario? You're still going to jump to a comment half way down the page, and then wait for the preceding assets to load.
Regardless, you know the dimensions of the images because you store them on your server. You can bake the dimensions into your generated HTML so there's no jank at all
Oh, and there's also browser-based lazy loading of images: https://caniuse.com/loading-lazy-attr