Minifying code for PhoneGap App?
cordova, html, ios, javascript, minify
Solution
In general it is not worth minifying PhoneGap application. Minifying is beneficial for web application as it reduces size of each request.
With PhoneGap all your HTML/JS/CSS will be bundled into application package (which is compressed btw.) and downloaded once on application install. So there won't be any gains in speed.
Problem
I am currently starting to build an PhoneGap application, I know the advantages of minifying code for browsers already. However, I was wondering if it was worth minifying my HTML, JavaScript and CSS code for my PhoneGap application? I would understand that the code run faster potentially faster? Also if that is the case is there an application that will do it all for me? (When I say do it for me I mean take a directory on my machine and minify the code saving a .min.js version? or is it a simple file by file?) Thanks in advance for any help