News for hackers. Stuff that matters.
Re:Security concerns with minified JavaScript code by gruez on Monday August 31, 2015 @12:43PM (#10147653)
so really, minification only gets you 15% more size reduction.
Re:Security concerns with minified JavaScript code by mc808 on Monday August 31, 2015 @03:05PM (#10148457)
Technically ~21% more reduction (e.g. saving 15k on top of 70k), but I suppose specific files probably deviate more than that anyway.
Re:Security concerns with minified JavaScript code by ssttoo on Monday August 31, 2015 @03:26PM (#10148562)
yeah, possibly. This is old reasearch [1] with oldish minifiers (e.g. no UglifyJS) and only one script - jQuery from 5 years ago. However I don't expect large discrepancies if the reseasrch is duplicated with new modifiers and larger sample.

What would be more interesting is to see the results of the different minifications. E.g. how much you get from simply removing comments and whitespace? How much if you also rename variables? There might be diminishing returns (and increased security risks) if you go further than those two simple and "safe" improvements

[1] http://www.phpied.com/reducing-tpayload/