[Phpmyadmin-devel] not uglifying js for production
Rouslan Placella
rouslan at placella.com
Mon Jun 17 20:17:14 CEST 2013
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130617/8e78bc79/attachment.sig>
More information about the Developers
mailing list