3

The Microsoft Ajax Minifier enables you to improve the performance of your Ajax applications by reducing the size of your Cascading Style Sheet and JavaScript files.

what is the difference between crunching and Hyper crunching in Microsoft ajaxMinifier . i already tried in google but i didn't get correct answer.

4

1 回答 1

3

When you use normal crunching, the Microsoft Ajax Minifier strips all comments, unnecessary whitespace, curly-braces, and semicolons from a JavaScript file. Surprisingly, just removing all of this unnecessary code fluff can make a significant difference to the size of a JavaScript file.

When you use hypercrunching, the Microsoft Ajax Minifer gets more aggressive about reducing the size of a JavaScript file. In hpercrunching mode, the Microsoft Ajax Minifier shortens the names of local variables (variables in functions but not global variables) and it removes unreachable code.

In essence, hypercrunching does normal crunching + shortening variable name + removing unreachable code. source

于 2018-12-17T05:08:49.100 回答