The numbers on the top are the calculated resolutions for the image:

number in green is the image selected. While number in gray is the next lower and number in red is the next higher candidate.

The image on the left side has the data-optimumx attribute attached, while the same image on the right side is always loaded with the full density.

As you will see with this demo. Some images do gain significant quality with retina, but some others don't. The standard HTML responsive image markup has no way to tell the browser about does differences, therefore the browser often can't make educated decisions. The optimumx plugin solves this by limiting the source canidates to reasonable ones.

with data-optimumxwithout data-optimumx
Abandoned Boat
Abandoned Boat
with data-optimumxwithout data-optimumx
Windows on Istanbul
Windows on Istanbul
with data-optimumxwithout data-optimumx
Goldie Dawn
Goldie Dawn
with data-optimumxwithout data-optimumx
Abandoned Boat
Abandoned Boat
with data-optimumxwithout data-optimumx
Desert Road
Desert Road
with data-optimumxwithout data-optimumx
with data-optimumxwithout data-optimumx
@ The Desert Tortoise Natural Area
@ The Desert Tortoise Natural Area
with data-optimumxwithout data-optimumx
Borobudur
Borobudur
with data-optimumxwithout data-optimumx
A tree in the blue
A tree in the blue
with data-optimumxwithout data-optimumx
Sant Miquel del Fai
Sant Miquel del Fai
with data-optimumxwithout data-optimumx
Avebury Stone Circle
Avebury Stone Circle
with data-optimumxwithout data-optimumx
el castil de tierra
el castil de tierra
with data-optimumxwithout data-optimumx
sunset
sunset
with data-optimumxwithout data-optimumx
Sky and earth
Sky and earth
with data-optimumxwithout data-optimumx
Missing Ulsoor lake (Explore)
Missing Ulsoor lake (Explore)
with data-optimumxwithout data-optimumx
Oxford Path 2
Oxford Path 2
with data-optimumxwithout data-optimumx
Woman in water
Woman in water