I’ll be honest, I don’t know the ins and outs of the protocol, maybe the breakpoints are annotated in a way that would be trivial for the server to generate a proper srcset, but that is still a worst case implementation IMO: since the browser would likely redownload the initial bytes during viewport changes and when expanding a image from a thumbnail because all it can see is a different URL so “it is a different file”.
I believe it would be useful to have some browser API so that in the end users could even dial how much resolution they want from images (just because one has a retina display doesn’t mean one wants to pay the bandwidth price).