4 ms·
While I still remember, it'd also be great to preload images — iirc in some other of your articles there were sliders that flipped through images and it was kin
by grishka 5y ago
While I still remember, it'd also be great to preload images — iirc in some other of your articles there were sliders that flipped through images and it was kinda annoying to have to wait for them to load.
- fabiensanglard 5y agoI considered it but in the end decided against preloading. If users don't use the slider, they will have downloaded 3MiB of images for nothing. That is especially a problem for people on a data plan. The ideal solution would be to implement a system that preload all images related to a slider as soon as the user touches it.