3 ms·
No, this won't work in the wild. It breaks caching completely. It requires scripting just to serve an image. The same url can have different data - imagine i
by ars 15y ago
No, this won't work in the wild.
It breaks caching completely.
It requires scripting just to serve an image.
The same url can have different data - imagine if you resume downloading a file, only to suddenly have a different file.
- alexchamberlain 15y agoI disagree. Caches would have to be intelligent. Remember they already have to pay attention to language headers etc. URLs represent a conceptual resource, rather than a single file.
- ars 15y agoCaches (proxies) already exist. You don't have the option of reprogramming them for this new header.
- michaelmior 15y agoPart of the problem here is that there are a wide range of pixel densities. The server could choose to display the same image for some range of values but trying to get a caching proxy to sort this out is highly nontrivial.