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/1c58b6a10c75f05219fae276e6537611c201c1a7/static/img/fileRenderPlaceholder.png)