News for hackers. Stuff that matters.
Re:How to think about HTML responsive images by CGamesPlay on Tuesday April 09, 2024 @04:50AM (#39977465)
What problem does this solve?
Re:How to think about HTML responsive images by est on Tuesday April 09, 2024 @06:21AM (#39977942)
s3 storage cost, html size and CDN traffic cost?

Cache one file to serve image of multiple sizes.

Re:How to think about HTML responsive images by rokkamokka on Tuesday April 09, 2024 @09:37AM (#39979301)
But at that point, since you're not optimizing for filesize (everyone fetches every size), you might as well just provide the highest quality version only
Re:How to think about HTML responsive images by est on Tuesday April 09, 2024 @11:00AM (#39980175)
> everyone fetches every size

Nah, by using the Content-Range header, you can download partition of the file and render lower resolution image.