I use gulp-Uglify to minify my JavaScript for a large Angular.js project. Recently the compile process became incredibly Slow, taking upwards of 15 seconds to compile JavaScript each. I'm convinced there is an underlying issue here, but for now I was able to solve the issue using a filesystem cache. This reduced a the JS build task with Uglify from 15-20 secs down to 500ms-1.5secs.