Re:Capcom CPS-1 Graphic system study
by grishka on Wednesday February 23, 2022 @09:06PM
(#30449442)
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.
[ Parent
| on HN ]
Re:Capcom CPS-1 Graphic system study
by fabiensanglard on Thursday February 24, 2022 @07:16PM
(#30462181)
I 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.