[Phpmyadmin-devel] not uglifying js for production
Michal Čihař
michal at cihar.com
Tue Jun 18 09:53:44 CEST 2013
Hi
Dne Sun, 16 Jun 2013 21:45:14 +0200
Mohamed Ashraf <mohamed.ashraf.213 at gmail.com> napsal(a):
> 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.
Indeed it's hard for error reports, but the size reduction is quite
significant - one the main page we load 1.25 MiB of js, after
minification it's only 630 kiB. And not everybody has fast bandwidth
now...
--
Michal Čihař | http://cihar.com | http://blog.cihar.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.phpmyadmin.net/pipermail/developers/attachments/20130618/88ba33e8/attachment.sig>
More information about the Developers
mailing list