3 ms·
Almost certainly not, if only because it's another layer of indirection when debugging and for this use you're not limited by distribution size. There is a pot
by nathankleyn 11y ago
Almost certainly not, if only because it's another layer of indirection when debugging and for this use you're not limited by distribution size.
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.
- bcrypt 11y agoOP 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. :)
- nathankleyn 11y agoSorry, that's a mistake - I meant to write "HTTP2 + Web Assembly" (which will take the place of file concatenation and minification).
- gliptic 11y agoWhy would HTTP2 eradicate the minifier? It seems completely orthogonal to minification.
- nathankleyn 11y agoEdited, that's a mistake - I meant to write "HTTP2 + Web Assembly" (which will take the place of file concatenation and minification).
- gliptic 11y agoWebAssembly will only be applicable to asm.js-style code, not JavaScript in general.