Re:Backdooring JavaScript using minifier bugs
by bcrypt on Monday August 24, 2015 @04:50AM
(#10108597)
OP here. Agree there probably isn't much benefit to minifying server-side code. However, I wouldn't be surprised if things like Closure Compiler were useful server-side.
Not convinced that HTTP2 will eradicate minifiers; it makes bundling files less useful, but minifying still gets rid of bytes. Then again, I'm not a web performance expert. :)
Re:Backdooring JavaScript using minifier bugs
by nathankleyn on Monday August 24, 2015 @05:00AM
(#10108622)
Sorry, that's a mistake - I meant to write "HTTP2 + Web Assembly" (which will take the place of file concatenation and minification).
Re:Backdooring JavaScript using minifier bugs
by gliptic on Monday August 24, 2015 @04:51AM
(#10108599)
Why would HTTP2 eradicate the minifier? It seems completely orthogonal to minification.
Re:Backdooring JavaScript using minifier bugs
by nathankleyn on Monday August 24, 2015 @05:00AM
(#10108623)
Edited, that's a mistake - I meant to write "HTTP2 + Web Assembly" (which will take the place of file concatenation and minification).
There is a potential benefit if the minifier can apply some performance optimisations, but one would hope V8 et al are already doing most of these and more.
Even for client-side applications, HTTP2 + Web Assembly will eradicate concatenating and minifying JS files soon.