News for hackers. Stuff that matters.
Re:Shrine – A new solution for handling file uploads in Ruby by jrochkind1 on Wednesday October 28, 2015 @09:40AM (#10464331)
So "up front" still includes doing the processing in a background job async, as long as it's triggered at point of upload, not at point of request?

"upfront" but async background does seem to be the best way to approach it to me, at least if you had to pick one -- that's what Shrine does?

Re:Shrine – A new solution for handling file uploads in Ruby by janko-m on Wednesday October 28, 2015 @04:16PM (#10467080)
Yes, you got it right, this is exactly what it means. Yeah, there are some rare use cases for on-the-fly processing (think a WYSIWYG editor where the user can choose the size of the image), but for me upfront definitely works best.
Re:Shrine – A new solution for handling file uploads in Ruby by jrochkind1 on Wednesday October 28, 2015 @04:25PM (#10467133)
Cool. I'd call those two choices "upon upload" (instead of 'upfront'), and "upon first view" (instead of "on the fly"), but I'm sure my terminology would confuse someone else too.