- Go to https://en.wikipedia.org/wiki/?useskin=vector-2022
- Emulate a slow connection in your browser (e.g. in Chrome, open the inspector, go to the Network tab, and change the "No throttling" dropdown to "Slow 3G")
- Type text into the search bar
- Watch thumbnail images load very slowly
Most of the reason that the images load slowly is that the connection is slow, but I think we could do (slightly) better here by loading smaller images.
Right now, the thumbnails are 200px in the longest dimension, and they're displayed as 36x36 squares with background-size: cover;, which causes the short side to be scaled down to 36px (and non-square images to be cropped). It would be better if we could ask for thumbnails at the size we intend to use (36px in the shortest dimension). It looks like the MediaWiki-REST-API may not currently support that, though.