I think it would hinder our workflow to enable minification in prod if it takes 10 mins to run.
I agree.
Or are you guys building it on a different machine?
Yes, and it's a WAN: the build jobs are run on slaves running on OS1 (cheap but low reliability), the master node is on AWS and we want to server the pages on a relatively reliable single machine, especially with a stable IP address under our control.
I understand the differences between gzip and minify, my question was more about what does minify buy us specifically. I don't think much, so +1 to start w/o it. In my experience using an external minify tool is a "brute force" solution but we should be able to achieve the same by working on our templates, javascript and styles at the source? In terms of performance, the highest benefits are reaped by having appropriate headers in httpd anyway: if we get performance issues there's much more we can look into.
|