Hacker News new | past | comments | ask | show | jobs | submit login
Cloudflare Image Resizing: Simplifying Optimal Image Delivery (cloudflare.com)
7 points by jgrahamc on May 15, 2019 | hide | past | favorite | 1 comment



A missing piece of (valuable) documentation would be handling cache scenarios for how you'd mutate a response based on user-agent or accept headers - say, changing file format.

I personally do client hints polyfilling via workers (dpi matters for things like "fit" even if you use srcset) and transpose images off-workers (github.com/h2non/imaginary). Will do testing and see how they match up in terms of quality.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: