JavaScript和CSS最小化 [英] JavaScript and CSS minimizer
问题描述
我正在寻找一个良好和可靠的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:
- Google Closure Compiler Service
- Microsoft AJAX Minifier
- 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.
- Combres
- Xpedite
- SquishIt
再次,也可能更多...
Again, also likely many more...
这篇关于JavaScript和CSS最小化的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!