好用的js压缩工具esc

js压缩在高访问量的项目中是很有必要的。以前在网络上找了很多软件,都有这样那样的一些问题,有句话说得好"js压缩没有权威"。但esc确实是一款很不错的工具。

使用方法:

ESC(ECMAScript cruncher)这个工具只能在Windows下使用,ESC.wsf提供5种压缩级别,从0到4:

Level 0 :: No compression 不对JS文件进行压缩

Level 1 :: Comment removal 移除JS文件中的注释

Level 2 :: Whitespace removal 移除JS文件中的注释及空行(一般选择此级别就足够了)

Level 3 :: Newline removal 移除JS文件中的注释,将所有代码合并为一行

Level 4 :: Variable substitution 提供最新的压缩率,移除JS文件中的注释,将所有代码合并为一行,并且修改JS文件中的变量名

在WINDOWS命令行下执行

cscript ESC.wsf -ow 压缩后文件.js 压缩前文件.js 将压缩前的js文件按照压缩级别2来压缩(ESC.wsf默认压缩级别为2)

cscript ESC.wsf -l 3 -ow 压缩后文件.js Common.js 将压缩前的js文件按照压缩级别3来压缩为"压缩后文件.js"

需要注意的是,ESC.wsf压缩级别4会把变量名修改,如果你的js中用到了全局变量或者类的话,就不能使用该压缩级别了,否则其它使用你的js的文件可能会无法正常运行。

文件下载: 点击下载

最新评论:

no.46004 znokvBavaantack 5.188.210.60 2019-01-19 00:29

<a href="https://buycbdoil.us.com/#">cbd oil dosage instructions</a> <a href="https://buycbdoil.us.com/#">cbd oil uses</a> <a href="https://buycbdoil.us.com/#">best cbd oil for pain</a> https://buycbdoil.us.com/#

no.46003 szldcBavaantack 5.188.210.66 2019-01-19 00:27

<a href="https://mycasinoslots.us.org/#">50 lions free slots</a> <a href="https://mycasinoslots.us.org/#">slots of vegas casino</a> <a href=" https://mycasinoslots.us.org/# ">free vegas world slots</a> https://mycasinoslots.us.org/#

no.46002 sxikkBavaantack 5.188.210.70 2019-01-19 00:26

<a href="https://cbdoil.us.org/#">cbd oil walgreens</a> <a href="https://cbdoil.us.org/#">cbd oil dogs</a> <a href="https://cbdoil.us.org/#">where to buy cbd oil near me</a> https://cbdoil.us.org/#

no.46001 syqumBavaantack 5.188.210.70 2019-01-19 00:26

<a href="https://cbdoil.us.org/#">cbd oil vs hemp oil</a> <a href="https://cbdoil.us.org/#">cbd side effects on liver</a> <a href="https://cbdoil.us.org/#">cbd products online</a> https://cbdoil.us.org/#

no.46000 eicfjBavaantack 5.188.210.68 2019-01-19 00:24

<a href="https://mycbdoil.us.org/#">cbd plus</a> <a href="https://mycbdoil.us.org/#">cbd hemp oil</a> <a href="https://mycbdoil.us.org/#">cbd oil australia</a> https://mycbdoil.us.org/#

no.45999 sgqhfBavaantack 5.188.210.68 2019-01-19 00:23

<a href="https://mycbdoil.us.org/#">cbd plus</a> <a href="https://mycbdoil.us.org/#">does walgreens sell cbd oil</a> <a href="https://mycbdoil.us.org/#">cbd oil cost</a> https://mycbdoil.us.org/#

no.45998 ncynnBavaantack 5.188.210.64 2019-01-19 00:10

<a href="https://cbdoil.us.com/#">buy cbd oil uk</a> <a href="https://cbdoil.us.com/#">cbd plus</a> <a href="https://cbdoil.us.com/#">cbd marijuana</a> https://cbdoil.us.com/#

no.45997 syyreBavaantack 5.188.210.64 2019-01-19 00:10

<a href="https://cbdoil.us.com/#">what does cbd oil do</a> <a href="https://cbdoil.us.com/#">how much cbd oil should i take</a> <a href="https://cbdoil.us.com/#">cbd for dogs</a> https://cbdoil.us.com/#

no.45996 kenvzBavaantack 5.188.210.69 2019-01-19 00:10

<a href="https://buycbdoil.us.org/#">cbd oil legal</a> <a href="https://buycbdoil.us.org/#">cbd hemp oil</a> <a href="https://buycbdoil.us.org/#">cbd oil prices</a> https://buycbdoil.us.org/#

no.45995 kzgnxBavaantack 5.188.210.62 2019-01-19 00:07

<a href="https://mycbdoil.us.com/#">cbd oil distributors</a> <a href="https://mycbdoil.us.com/#">purekana cbd oil</a> <a href=" https://mycbdoil.us.com/# ">cbd oil dosage</a> https://mycbdoil.us.com/#

no.45994 dyfojBavaantack 5.188.210.67 2019-01-19 00:06

<a href="https://cbd-oil.us.com/#">cbd oil with thc</a> <a href="https://cbd-oil.us.com/#">cannabidiol</a> <a href="https://cbd-oil.us.com/#">ultra cell cbd oil</a> https://cbd-oil.us.com/#

no.45993 tmwbgBavaantack 5.188.210.62 2019-01-19 00:00

<a href="https://mycbdoil.us.com/#">cbd oil scam</a> <a href="https://mycbdoil.us.com/#">cbd oil holland and barrett</a> <a href=" https://mycbdoil.us.com/# ">green roads cbd</a> https://mycbdoil.us.com/#

no.45992 wwqeaBavaantack 5.188.210.67 2019-01-18 23:59

<a href="https://cbd-oil.us.com/#">organic cbd oil</a> <a href="https://cbd-oil.us.com/#">cbd oil for cats</a> <a href="https://cbd-oil.us.com/#">cbd canada</a> https://cbd-oil.us.com/#

no.45991 kojteBavaantack 5.188.210.66 2019-01-18 23:59

<a href="https://mycasinoslots.us.org/#">empire city online casino</a> <a href="https://mycasinoslots.us.org/#">lady luck online casino</a> <a href=" https://mycasinoslots.us.org/# ">free games online slots</a> https://mycasinoslots.us.org/#

no.45990 mghniBavaantack 5.188.210.69 2019-01-18 23:48

<a href="https://buycbdoil.us.org/#">cbd oil cost</a> <a href="https://buycbdoil.us.org/#">cv sciences cbd oil</a> <a href="https://buycbdoil.us.org/#">cbd flower</a> https://buycbdoil.us.org/#

no.45989 befeuBavaantack 5.188.210.66 2019-01-18 23:46

<a href="https://mycasinoslots.us.org/#">casino slots free games</a> <a href="https://mycasinoslots.us.org/#">casinos near me</a> <a href=" https://mycasinoslots.us.org/# ">play free lucky 777 slots</a> https://mycasinoslots.us.org/#

no.45988 mbfkfBavaantack 5.188.210.69 2019-01-18 23:40

<a href="https://buycbdoil.us.org/#">green mountain cbd</a> <a href="https://buycbdoil.us.org/#">does cbd oil work</a> <a href="https://buycbdoil.us.org/#">elixinol cbd</a> https://buycbdoil.us.org/#

no.45987 msbyaBavaantack 5.188.210.62 2019-01-18 23:39

<a href="https://mycbdoil.us.com/#">cbd oil vape</a> <a href="https://mycbdoil.us.com/#">how much cbd oil should i take</a> <a href=" https://mycbdoil.us.com/# ">cbd oil amazon</a> https://mycbdoil.us.com/#

no.45986 qkmhuBavaantack 5.188.210.68 2019-01-18 23:18

<a href="https://mycbdoil.us.org/#">cbd vape oil</a> <a href="https://mycbdoil.us.org/#">strongest cbd oil for sale</a> <a href="https://mycbdoil.us.org/#">cbd vape</a> https://mycbdoil.us.org/#

no.45985 ayozaBavaantack 5.188.210.64 2019-01-18 23:18

<a href="https://cbdoil.us.com/#">buy cbd hemp buds</a> <a href="https://cbdoil.us.com/#">cbd store</a> <a href="https://cbdoil.us.com/#">charlotte web cbd oil</a> https://cbdoil.us.com/#

no.45984 fvigvBavaantack 5.188.210.70 2019-01-18 23:14

<a href="https://cbdoil.us.org/#">plus cbd oil</a> <a href="https://cbdoil.us.org/#">where to buy cbd cream for pain</a> <a href="https://cbdoil.us.org/#">what is cbd oil</a> https://cbdoil.us.org/#

no.45983 xsaupBavaantack 5.188.210.60 2019-01-18 23:08

<a href="https://buycbdoil.us.com/#">cbd oil indiana</a> <a href="https://buycbdoil.us.com/#">green roads cbd</a> <a href="https://buycbdoil.us.com/#">amazon cbd oil</a> https://buycbdoil.us.com/#

no.45982 jhchuBavaantack 5.188.210.68 2019-01-18 23:04

<a href="https://mycbdoil.us.org/#">cbd pills</a> <a href="https://mycbdoil.us.org/#">where to buy cbd cream</a> <a href="https://mycbdoil.us.org/#">cbd oil australia</a> https://mycbdoil.us.org/#

no.45981 pbgmyBavaantack 5.188.210.62 2019-01-18 22:47

<a href="https://mycbdoil.us.com/#">diamond cbd</a> <a href="https://mycbdoil.us.com/#">leafwize cbd oil</a> <a href=" https://mycbdoil.us.com/# ">cbd oil vs hemp oil</a> https://mycbdoil.us.com/#

no.45980 xmebzBavaantack 5.188.210.66 2019-01-18 22:39

<a href="https://mycasinoslots.us.org/#">pala casino online</a> <a href="https://mycasinoslots.us.org/#">freeslots.com slots</a> <a href=" https://mycasinoslots.us.org/# ">free online games that pay real money</a> https://mycasinoslots.us.org/#

no.45978 lqxyiBavaantack 5.188.210.67 2019-01-18 22:36

<a href="https://cbd-oil.us.com/#">cbd clinic products</a> <a href="https://cbd-oil.us.com/#">cbd for sale</a> <a href="https://cbd-oil.us.com/#">cbd vape</a> https://cbd-oil.us.com/#

no.45977 rstciBavaantack 5.188.210.64 2019-01-18 22:31

<a href="https://cbdoil.us.com/#">cbd book distributors</a> <a href="https://cbdoil.us.com/#">the cbd store</a> <a href="https://cbdoil.us.com/#">plus cbd oil</a> https://cbdoil.us.com/#

no.45976 jlsodBavaantack 5.188.210.60 2019-01-18 22:30

<a href="https://buycbdoil.us.com/#">buy cbd oil online</a> <a href="https://buycbdoil.us.com/#">diamond cbd</a> <a href="https://buycbdoil.us.com/#">benefits of cbd oil</a> https://buycbdoil.us.com/#

no.45975 keqzkBavaantack 5.188.210.70 2019-01-18 22:20

<a href="https://cbdoil.us.org/#">cbd oil stocks</a> <a href="https://cbdoil.us.org/#">cbd oil in texas</a> <a href="https://cbdoil.us.org/#">retail stores selling cbd oil</a> https://cbdoil.us.org/#

no.45974 iatxhBavaantack 5.188.210.70 2019-01-18 22:20

<a href="https://cbdoil.us.org/#">organic cbd oil</a> <a href="https://cbdoil.us.org/#">what is cbd oil good for</a> <a href="https://cbdoil.us.org/#">cbd oil holland and barrett</a> https://cbdoil.us.org/#

no.45973 shnjwBavaantack 5.188.210.66 2019-01-18 22:12

<a href="https://mycasinoslots.us.org/#">online slot games</a> <a href="https://mycasinoslots.us.org/#">free online casino games</a> <a href=" https://mycasinoslots.us.org/# ">heart of vegas casino game</a> https://mycasinoslots.us.org/#

no.45972 xjdiaBavaantack 5.188.210.69 2019-01-18 22:05

<a href="https://buycbdoil.us.org/#">charlotte web cbd oil</a> <a href="https://buycbdoil.us.org/#">cbd canada</a> <a href="https://buycbdoil.us.org/#">cbd oil amazon</a> https://buycbdoil.us.org/#

no.45971 cumijBavaantack 5.188.210.68 2019-01-18 22:03

<a href="https://mycbdoil.us.org/#">cbd stocks</a> <a href="https://mycbdoil.us.org/#">does cbd oil work</a> <a href="https://mycbdoil.us.org/#">cbd distillery</a> https://mycbdoil.us.org/#

no.45970 mhamiBavaantack 5.188.210.68 2019-01-18 22:01

<a href="https://mycbdoil.us.org/#">walgreens cbd oil</a> <a href="https://mycbdoil.us.org/#">cbd oil legal</a> <a href="https://mycbdoil.us.org/#">cbd oil reviews 2018</a> https://mycbdoil.us.org/#

no.45969 sulmqBavaantack 5.188.210.66 2019-01-18 22:00

<a href="https://mycasinoslots.us.org/#">casino games free online</a> <a href="https://mycasinoslots.us.org/#">hollywood casino online slots free</a> <a href=" https://mycasinoslots.us.org/# ">no download no registration slots</a> https://mycasinoslots.us.org/#

no.45968 canmdBavaantack 5.188.210.64 2019-01-18 21:50

<a href="https://cbdoil.us.com/#">cbd canada</a> <a href="https://cbdoil.us.com/#">cannabidiol</a> <a href="https://cbdoil.us.com/#">cbd oil interactions with medications</a> https://cbdoil.us.com/#

no.45967 kjnmlBavaantack 5.188.210.64 2019-01-18 21:50

<a href="https://cbdoil.us.com/#">cbd side effects on liver</a> <a href="https://cbdoil.us.com/#">what is cbd</a> <a href="https://cbdoil.us.com/#">green roads cbd oil</a> https://cbdoil.us.com/#

no.45966 veiyvBavaantack 5.188.210.69 2019-01-18 21:46

<a href="https://buycbdoil.us.org/#">hemp cbd oil side effects</a> <a href="https://buycbdoil.us.org/#">cbd oil dogs</a> <a href="https://buycbdoil.us.org/#">cbd side effects</a> https://buycbdoil.us.org/#

no.45965 ylulyBavaantack 5.188.210.60 2019-01-18 21:41

<a href="https://buycbdoil.us.com/#">koi cbd</a> <a href="https://buycbdoil.us.com/#">cbd oil for dogs</a> <a href="https://buycbdoil.us.com/#">green roads cbd</a> https://buycbdoil.us.com/#

no.45964 mnzzdBavaantack 5.188.210.60 2019-01-18 21:41

<a href="https://buycbdoil.us.com/#">cbd distillery</a> <a href="https://buycbdoil.us.com/#">cbd college</a> <a href=" https://buycbdoil.us.com/# ">where to buy cbd oil online</a> https://buycbdoil.us.com/#

no.45963 baoekBavaantack 5.188.210.62 2019-01-18 21:40

<a href="https://mycbdoil.us.com/#">cbd college</a> <a href="https://mycbdoil.us.com/#">cbd oil prices</a> <a href=" https://mycbdoil.us.com/# ">cbd online</a> https://mycbdoil.us.com/#

no.45962 tshhjBavaantack 5.188.210.69 2019-01-18 21:38

<a href="https://buycbdoil.us.org/#">cbd vape</a> <a href="https://buycbdoil.us.org/#">vaping cbd oil</a> <a href="https://buycbdoil.us.org/#">cbd oil for anxiety</a> https://buycbdoil.us.org/#

no.45961 ycunoBavaantack 5.188.210.67 2019-01-18 21:37

<a href="https://cbd-oil.us.com/#">cbd oil scam</a> <a href="https://cbd-oil.us.com/#">cbd book distributors</a> <a href="https://cbd-oil.us.com/#">cbd marijuana</a> https://cbd-oil.us.com/#

no.45960 rqgbsBavaantack 5.188.210.62 2019-01-18 21:35

<a href="https://mycbdoil.us.com/#">cbd oil for pets</a> <a href="https://mycbdoil.us.com/#">cbd flower</a> <a href=" https://mycbdoil.us.com/# ">cbd oil edmonton</a> https://mycbdoil.us.com/#

no.45959 reguyBavaantack 5.188.210.70 2019-01-18 21:32

<a href="https://cbdoil.us.org/#">cbd store</a> <a href="https://cbdoil.us.org/#">cbd products</a> <a href="https://cbdoil.us.org/#">cbd cream</a> https://cbdoil.us.org/#

no.45958 lfujtBavaantack 5.188.210.67 2019-01-18 21:30

<a href="https://cbd-oil.us.com/#">cbd flower</a> <a href="https://cbd-oil.us.com/#">how much cbd oil should i take</a> <a href="https://cbd-oil.us.com/#">cbd for sale</a> https://cbd-oil.us.com/#

no.45956 mqteuBavaantack 5.188.210.62 2019-01-18 21:15

<a href="https://mycbdoil.us.com/#">cbd hemp oil</a> <a href="https://mycbdoil.us.com/#">cbd oil legal</a> <a href=" https://mycbdoil.us.com/# ">medterra cbd</a> https://mycbdoil.us.com/#

no.45955 sgycpBavaantack 5.188.210.70 2019-01-18 21:12

<a href="https://cbdoil.us.org/#">cbd oil wisconsin</a> <a href="https://cbdoil.us.org/#">hemp cbd oil</a> <a href="https://cbdoil.us.org/#">where to buy cbd cream</a> https://cbdoil.us.org/#

no.45954 zmrfgBavaantack 5.188.210.60 2019-01-18 21:10

<a href="https://buycbdoil.us.com/#">select cbd</a> <a href="https://buycbdoil.us.com/#">cbd oil amazon</a> <a href="https://buycbdoil.us.com/#">does cbd oil work</a> https://buycbdoil.us.com/#

no.45953 myyodBavaantack 5.188.210.64 2019-01-18 20:59

<a href="https://cbdoil.us.com/#">cbd oil for pain</a> <a href="https://cbdoil.us.com/#">amazon cbd oil</a> <a href="https://cbdoil.us.com/#">does cbd oil show up on drug test</a> https://cbdoil.us.com/#

发表评论:

邮箱: