JavaScript和CSS最小化 [英] JavaScript and CSS minimizer

查看:150
本文介绍了JavaScript和CSS最小化的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一个良好和可靠的JS和CSS最小化。

I'm looking for a good and reliable JS and CSS minimizer. Preferably one that refactors my javascript variables to something more obscure and something it's easy to use.

你使用哪一个?

感谢

推荐答案

有很多种选择。在实际工具方面,最常见的是:

There are a wide variety of options. In terms of actual tools, the most common are:


  1. Google Closure Compiler Service

  2. Microsoft AJAX Minifier

  3. 雅虎的CSS Minifier (也 YuiCompressor.NET

  1. Google Closure Compiler Service
  2. Microsoft AJAX Minifier
  3. Yahoo's CSS Minifier (also YuiCompressor.NET)

,但我已使用过这些工具,和所有是伟大的工作。

and likely many more, but I have used each of these tools, and all are great to work with.

如果您使用.NET应用程序库,还有其他各种扩展这些基本工具的选项,以组合类似的资源和减少整体HTTP请求。

If you are working with a .NET application library, there are also various other options that extend these base tools, to combine like resources and reduce overall HTTP requests.


  1. Combres

  2. Xpedite

  3. SquishIt

  1. Combres
  2. Xpedite
  3. SquishIt

再次,也可能更多...

Again, also likely many more...

这篇关于JavaScript和CSS最小化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆