Depending on how the program is written, this can reduce the size by about half. Helping the YUI CompressorĪ minifier removes the comments and unnecessary whitespace from a program. Running your JavaScript code through YUI Compressor results in tremendous savings by default, but there are things you can do to increase the byte savings even further. By modifying or avoiding these coding patterns, you can improve the YUI Compressor’s performance. In my investigation, I discovered coding patterns that prevented YUI Compressor from performing variable name replacement. You can easly change the defaults below the textarea. This tool uses UglifyJS 2, Clean-CSS and HTML Minifier. This is a web interface to minify your JavaScript, CSS and HTML.
0 Comments
Leave a Reply. |