is there a reason to not use an online uglifyjs minifier? -


is there reason not use online uglifyjs program http://skalman.github.io/uglifyjs-online/? seems easier installing oneself.

there security implications - you're not showing random third party (and additional listeners if it's not on tls) whole code trusting third party , attacker not insert malicious content.

additionally, particular online service may unreliable or broken (hopefully in obvious ways of opposed to, say, emitting first 512 bytes). you're out of luck if there routing problem on end. sometimes, can quite slow - local minification tool should done within 0.1s, quite hard on internet, on mobile connection.

but importantly, if configured correctly, using online service interactively should more, not less work. software can built , published automatically. if build process entails manually copying code, pasting somewhere, , copying result, that's lot of wasted time.

if use build process tool (like grunt or venerable make), minification can done automatically, 1 step in large list.

additionally, navigating website harder hit build button.

finally, installation isn't hard - have @ the instructions.

npm install uglify-js -g 

should need.


Comments