KiOui / mentorpunten

Scavenger hunt website for Study Association Thalia
https://scavengerhunt.thalia.nu/
MIT License
5 stars 1 forks source link

Lazy load images #86

Closed JobDoesburg closed 1 year ago

JobDoesburg commented 1 year ago

Currently, all images are directly loaded when loading the page. For a feed, this is not good practice as it creates a lot of data traffic. Instead, let the browser lazy load the images (only when they are about to appear in the viewport). I think using simply specifying the source as lazy-src does everything