Ineffective thumbnail rendering
BotB Academy Bug Reports and Feature Requests
Level 19 Pixelist
post #75608 :: 2016.12.27 10:22am
  HertzDevil, Jangler, Dimeback, Jimmyoshi, TMM12, pedipanol and Blaze Weednix liēkd this
Never thought about winning a major as a way to discover problems like this but...
I've noticed some degradation in BotB performance today, and soon realized the cause lies in the animated thumbnail of my entry. It looks like it's loading in its entirety, full res, then it gets downscaled "in realtime". This is really inefficient imo, and not only it wastes the bandwitdh, but also makes navigating the whole site rather sluggish experience, since it reloads everything again and again with every refresh/changing subpage.
My suggestion is to render thumbnailed versions ahead of time, and directly use them wherever needed. Or maybe even cut the animations to first frame only? I'm also curious what other BotBrs think, and if they experienced the slowdowns too.
Level 14 Pixelist
post #75609 :: 2016.12.27 10:45am
  Jimmyoshi and MiDoRi liēkd this
Ye it's been slow as ass for me as well
Level 28 Chipist
post #75611 :: 2016.12.27 11:17am
  Yuki and Jangler liēkd this
If entries are cached, that'd help by only loading it once.
Also downscaling via size but keeping the full resolution is good imo. It allows mobile devices and high density displays to view images without any upscaling blur.
Level 27 Chipist
post #75613 :: 2016.12.27 12:24pm
  HertzDevil, Blaze Weednix and MiDoRi liēkd this
normally yes, but midori's cover art is 7.4 MiB. you could convert that to a ~100 KiB JPEG and serve that as the thumbnail without any visible loss of quality.
Level 27 Hostist
post #75616 :: 2016.12.27 2:02pm
  Modus Ponens, MiDoRi and Savestate liēkd this
wtf i had no idea there wasn't a smaller cap on cover arts
i thought it was around 666 or 750kb
probably best way is to change the header on cover art so it's cached by the browser
Level 24 Mixist
post #75742 :: 2016.12.29 1:34pm
  Yuki hæitd this
  Blaze Weednix liēkd this
Generating thumbnail previews is additional dev work, but IMO something worth doing.

LOGIN or REGISTER to add your own comments!