What is the best method to reduce the size of my Javascript and CSS files?

后端 未结 18 1014
礼貌的吻别
礼貌的吻别 2020-11-30 04:16

When working with large and/or many Javascript and CSS files, what\'s the best way to reduce the file sizes?

18条回答
  •  挽巷
    挽巷 (楼主)
    2020-11-30 05:00

    Minify seems to be one of the easiest ways to shrink Javascript.

    Turning on zip at the web server level can also help.

提交回复
热议问题