Closed kylecronin closed 11 years ago
The hard part (read: impossible) is detecting whether a device is retina or not. All we get is a user agent, which doesn't specify. Should we just send a progressively-encoded jpeg at double resolution to everybody?
I was just thinking about sending a double resolution image to every single person. What is a progressively encoded JPEG?
Progressively encoded jpegs load in low quality at first and then sharpen up as the download finishes. It's good to use on high DPI images so that they are visible earlier on slow connections.
The images are around 8k currently, presumably will be around 32k when served for retina, is that really large enough to need to do a progressive JPEG? Even at 56kbps, that's just a few seconds of download time.
If we need it we can make it work, but I'm not sure we do. For now, why don't we concentrate on making retina versions of bottom.png, top.png, and invalid-referrer.png.
We should look into supporting retina devices. This should be a piece of cake, just return an image that's double the size in both dimensions. We need retina artwork though - Nathan?