Concatenate and minify cordova/phonegap plugin files Concatenate and minify cordova/phonegap plugin files ios ios

Concatenate and minify cordova/phonegap plugin files


Minification does improve performance for two reasons:

Reduced file-size (because it removes comments and unnecessary white-spaces), so your script loads faster. Even if it is embedded into the .

It is parsed faster, since comments and white-spaces don't have to explicitly ignored (since they're not there).

BUT, it is only going to make a real difference if the file is big (2000 lines or more), like jquery. There is no point minifying a 20 line file.