image has to load again
hapo-hoangnh opened this issue · comments
Hoàng BK commented
Every show popup or next image has to load again (in F12 network tab). This consumes bandwidth as well as speed.
Sachin Neravath commented
To improve the performance, lightGallery loads images and slides only on demand. And once an image is loaded, they are served from the cache next time. No additional bandwidth is used or it won't delay loading
When you test with dev tools, please make sure that the cache option is not disabled.
Hoàng BK commented
@sachinchoolur thank you. i'm checked. the reason is that scrolling to the bottom leads to an active infinite loop.
#1296 fixed