Background
It seem likes currently Page previews requests images that are constrained within a 300x300 pixels box. With retina displays considered, that means 300 and 600 boxed thumbnails are requested. Those sizes are commonly used, but 320/640 are more prevalent and are also pre-rendered for new images.
Switching Page previews to 320 for its thumbnail sizes (640 when retina) would increase the likelihood of the thumbnail being a cache hit by a factor of 2 to 3. Meaning better performance on average.
Acceptance criteria
- Switch Page Previews to 320 for thumbnail sizes
Developer Notes
- The thumbnail size is defined:
- The spec (T173434#3539276) does require the changes to src/ui/renderer.js.
Testing criteria
The images we use in page previews have increased in size. Please do a general QA of the page previews feature on the beta cluster to check whether there have been any visual regressions.








