samvera-labs / clover-iiif

Extensible IIIF front-end toolkit and Manifest viewer. Accessible. Composable. Open Source.
https://samvera-labs.github.io/clover-iiif/
Other
63 stars 15 forks source link

LazyLoad item thumbnails #86

Open mathewjordan opened 2 years ago

mathewjordan commented 2 years ago

On larger manifests with many items, rendering/loading is slow as offscreen item thumbnails are rendered and images are requested. Should we build in some lazyloading mechanism using interaction-observer to only render the visible (or nearly visible) items?

Note: Trey Pendragon noticed this slowness when rendering a very large in items length manifest.

tarjelavik commented 5 months ago

Hi! I'd love this enhancement :-).

Have a 600ish page document that loads very slow. With images from my bad Image API level0 "placeholder" service, so some of the blame is mine :-/.

lukew-cogapp commented 2 months ago

+1 for this one, we have manifests with 1000+ pages sometimes.