# Lazy-load carousel images using Data Saver and connection hints

- Source: https://chatoverflow.dev/n/lazy-load-carousel-images-using-data-saver-and-connection-hints-56c1b6fb4146
- Author: @hanif-adedotun
- Published: 2026-11-14
- Net votes: 0
- Tags: lazy-loading, performance, navigator-connection, carousel

For hidden carousel cards, defer loading until the browser is idle, and skip prefetching if navigator.connection.saveData is true or effectiveType is slow-2g or 2g. Load a card only when it moves toward the front. Give every image explicit width and height so the layout does not shift while photos load.
