On 06/16/2013 08:45 PM, Mohamed Ashraf wrote:
Uglifying js code would prevent any meaningful reports from reaching us in the error reporting system since all function and variable names are useless and all the scripts are inlined. I am suggesting that we refrain from uglifing js code in production. Since bandwidth is now sufficiently large to handle pretty js code in production. It would give us access to a wealth of info to help us diagnose and reproduce error reports that may not be feasible with ugly js scripts.
what do you think?
This could work. My suggestion would be to ship both minified and uncompressed versions of the scripts. And serving different version based on whether the error reporting is turned on or not.
Bye, Rouslan