I am working on a long scroll website that has some full screen greetings. It currently takes too long to load, since by default all images load in parallel.
Therefore, before I write anything, to download first what comes first and then what happens later (in this way, the first scroll will load almost instantly, and the user will wait for the rest when reading the first part: P) is there any script that will make this out of the box?
Iβm thinking about some existing code that will read each tag imgor background-imageattribute of a property / style attribute and load images sequentially depending on their appearance in HTML or some additional attribute.
I prefer vanilla JS or jQuery. If I canβt find it, I will write a plugin myself, vote / approve!
Mauro source
share