|
|
|
|
|
by turtlebits
885 days ago
|
|
This article is a bit hyprocritical. The example is an image sharing tool, but you don't resize images at all. So your server binary is tiny, but you're serving full size unoptimized images and wasting bandwidth for every single user that visits the site, as well as the uploader. Even thumbnails are served full size. In this case you're optimizing for the wrong thing. |
|
> This article is a bit hyprocritical. The example is an image sharing tool, but you don't resize images at all.
Can you explain how serving full-sized images opens up additional security vulnerabilities?
I don't see the connection between your argument about bandwidth and the OP's argument about attack surface.