News for hackers. Stuff that matters.
Re:Security concerns with minified JavaScript code by thephyber on Monday August 31, 2015 @03:39PM (#10148637)
GZip - purely for bandwidth savings

Minification - combination of bandwidth savings and smaller code

Remember that Javascript on the client must run once per page load / per script inclusion. The larger the code, the more that must be parsed and executed.

Minification probably had more of an impact before Chrome+V8 when JavaScript engines competed to become extremely optimized. I suppose now most vendors have some sort of in-memory cache for recent scripts feature which would vastly reduce the average script execution due to the need to parse less frequently.

There are no comments on this comment yet.