lazy loading images
Update 2 Jan 2022: Link to caniuse.com
As you might have noticed, the main page of this blog is not paginated. The text goes all the way back to the beginning. Fortunately I don’t write very fast so I can keep filling it up and it’s not even especially big for a web page today.
But the iframes and images can get big.
So I just put the lazysizes script, by Alexander Farkas, on here. So far so good.
Easier than setting up pagination. Please let me know if you run into any problems.
I have switched the images to loading="lazy" but I’m
keeping this script for now, for iframes, because Firefox only supports lazy
loading for images.
Bonus links
Preparing for Coronavirus to Strike the U.S.