Even with the caching changes, a 150kB thumbnail still takes 1-2s to fetch. This impacts the score. ## Change (1) Start with a large-enough placeholder image (has to be larger than the final image -- inflating doesn't count), then delay just enough for scoring, then switch to the real thumbnail. (2) Since we are now doing post-mount stuff, we have the exact dimensions to optimize the claim thumbnail. This reduces the typically-several-MBs thumbnail to kBs.
320 B
1600x900px
320 B
1600x900px
![](/LBRYCommunity/lbry-desktop/raw/commit/8b0de28b8a54e88c42dc97f5151d375efc2370e5/static/img/fileRenderPlaceholder.png)