What are some good css and js minimizers for produ

2019-01-10 09:39发布

I'm looking for some applications or websites that minimize css and js files. Ideally, they could batch them all or if not, one at a time.

12条回答
Emotional °昔
2楼-- · 2019-01-10 10:22

If you don't mind using Perl as part of your build process, JavaScript:: and CSS::Minifier work pretty well.

查看更多
迷人小祖宗
3楼-- · 2019-01-10 10:24

you can try the free tools from Boryi

查看更多
闹够了就滚
4楼-- · 2019-01-10 10:25

Basically what you are looking is to speed up your site by reducing the size of the response.

The other thing apart from minified js and css files is you can do a http compress. Please go through this and this.

查看更多
劳资没心,怎么记你
5楼-- · 2019-01-10 10:31

YUI compressor is great.

Another tool (and my weapon of choice due to its PHP-ness) is the PHP5-based Minify project hosted on Google code. If you're on a PHP platform consider it. Rather than running your stuff through a service after the fact, you install and configure this on your webserver once and then code and comment as much as you want and minify will rebuild (reminify) your CSS and/or Javascript on the fly. Yeah. I've used it, works great!!

http://code.google.com/p/minify/

查看更多
我想做一个坏孩纸
7楼-- · 2019-01-10 10:36

Microsoft released their Microsoft Ajax Minifier on codeplex today. Includes an MS build task and everthing inside VS 2005/2008

查看更多
登录 后发表回答