Skip to content
#

images

Here are 3,096 public repositories matching this topic...

vanilla-lazyload

LazyLoad is a lightweight, flexible script that speeds up your website by deferring the loading of your below-the-fold images, backgrounds, videos, iframes and scripts to when they will enter the viewport. Written in plain "vanilla" JavaScript, it leverages IntersectionObserver, supports responsive images and enables native lazy loading.

  • Updated May 24, 2022
  • JavaScript
technopagan
technopagan commented Sep 21, 2017

SVG will very likely take a little longer to render than a base64-encoded raster image. And the Gaussian Blur applied to the simple SVG shapes created by Primitive is probably quite CPU intensive.

Let's run a series of performance tests, ideally on WPT, to compare LQIP raster image rendering performance vs. SQIP rendering performance and also compare CPU utilization.

lambdapioneer
lambdapioneer commented Nov 17, 2018

The value of allowed undershoot in the resize mode ExactOrSmaller is currently a compile time constant. It would be great to make this configurable for the developer using the library:

https://github.com/facebookincubator/spectrum/blob/fa9e917f5b062797d51c3e013aaa7d61926c72a5/cpp/spectrum/core/ResizeUtil.h#L22-L27

enhancement good first issue

Improve this page

Add a description, image, and links to the images topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the images topic, visit your repo's landing page and select "manage topics."

Learn more