Lazyload for video thumbnails and profile images
In order to improve our web performance, I'm adding lazyload to our thumbnail and profile images.
Resources used:
- https://www.javascripting.com/view/lazysizes
- https://web.dev/use-lazysizes-to-lazyload-images/
- https://developers.google.com/web/fundamentals/performance/lazy-loading-guidance/images-and-video
Below you can see the page speed tests done before and after lazyload was implemented. Funny that there's a downgrade for desktop, but the performance in mobile increased significantly.
Desktop
Mobile