News for hackers. Stuff that matters.
Re:Issues with Cloudflare Images by afavour on Tuesday December 07, 2021 @02:04PM (#29476784)
Resizing an image is computationally intensive (at least compared to the average HTTP request). You can sidestep that by using caching: resize once, then serve the cached version from then on.

Dynamic resizing opens you up to a DDOS attack, essentially: someone would request the image at 1x1, and 1x2, and 1x3... you get the idea. But yeah, if there was anyone able to mitigate that risk via other means you'd think it would be Cloudflare.

There are no comments on this comment yet.