Does minified javascript improve performance?

后端 未结 8 1707
渐次进展
渐次进展 2020-11-27 05:26

I\'m making an AIR application (so download time doesn\'t have a huge impact), does combining and minifing all the javascript files affect the performance? How would obfusca

8条回答
  •  一整个雨季
    2020-11-27 06:00

    Minification does not improve the speed at which JavaScript executes at runtime, which I believe it what you're really interested in. In fact, if you use Packer's Base64 compression, it's actually slower on initial load.

    Minification will reduce the size of the JavaScript though, making your application's download size smaller.

提交回复
热议问题