Hacker News new | ask | show | jobs
by 40four 13 days ago
That actually makes a lot of sense, and it helps me wrap my head around why the technique exists at all. As someone who didn’t get into web programming until 2015 or so, I didn’t quite understand at first the usefulness of this. But for sites like this built in the 90’s it was a totally different world
2 comments

The way source maps are used by dark net sites, and the reason it exists, are probably unrelated! I think it was just an early form of using image tiling for big efficiency gains. Now with HTTP2/QUIC you can request many small individual images without much overhead, but back the day there were huge gains by sending one larger image instead of 50 smaller ones. (There's also the pure CSS solution used with image sprites that's between the old web and the current era, but I digress)
There's probably some efficiency to it too. Encoding a dozen images as one and load them in one request will be quicker than 12 separate images each with their own overhead.