JavaScript-Compress (jsc) is a web-based service that reduces the size of js source-code.
It uses a combination of techniques to achieve a significant compression when compared to other
common methods. See example for an illustration.
First-order advantages include:
* Faster loading times
* Lower storage requirements
* Source obfuscation (IP protection)
JS-Compressor was created by Antonio Roldao.
Using jsc, jquery-3.3.1 can be compressesed down from 265.38 kB to 47.01 kB (82% reduction).
This reduction is extraordinary when compared to other existing methods:
Compression for jquery-3.3.1.js: | |
original |
|
closurejs |
|
uglifyjs |
|
*this |
|
Reduced from 265.38 kB to 47.01 kB. |