4 ms·
Actually in some cases you want your application to touch that blob, especially if want to automatically generate thumbnails and have aggressive/best effort com
by olavgg 10y ago
Actually in some cases you want your application to touch that blob, especially if want to automatically generate thumbnails and have aggressive/best effort compression on that image. It is the best way to do something about users that uploads a 10MB image that is uncompressed :-)
- ryanbrunner 10y agoFor sure - but you should ask yourself if you need to routinely deal with that blob, or just process it on the way in? If your upload functionality generates thumbnails and resizes images properly, you can isolate file handling to that section of the code and the rest of your app can just deal with nice, simple URLs.