This is the most simplistic implementation we can think of, but it also
might the most effective: we use the loading attribute of the img
element to load the first slide show image eager, but all others
lazy. This should be sufficient to cover all of the alternative
picturesources. Of course, the effect heavily depends on browser
support.
This is the most simplistic implementation we can think of, but it also might the most effective: we use the
loading
attribute of theimg
element to load the first slide show imageeager
, but all otherslazy
. This should be sufficient to cover all of the alternativepicture
source
s. Of course, the effect heavily depends on browser support.