javascript - what is hypercrunching in microsoft ajax minifier?
问题描述
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.
解决方案
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
推荐阅读
- c# - 如何在 C# 中访问 XML 文件中的数据
- java - Kafka 流处理批处理数据以重置聚合
- javascript - 从 txt 文件创建变量数组
- python - python mqtt 订阅多条消息
- azure - MS Graph Api 读取授予权限的用户
- sql - 如何在连接上使用分区来获得计数
- c# - 运行 StyleCop 6.2 版时,Visual Studio 2019 不断崩溃
- amazon-s3 - 云和本地应用程序同步的想法
- javascript - 谷歌表格 - 将数值分配给彩色单元格,然后在另一列中将值加起来
- django - Gunicorn --workers 3 --preload