什么是好的跨平台css压缩程序? [英] what is a good cross-platform css compressor?
本文介绍了什么是好的跨平台css压缩程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要压缩我的css作为我的蚂蚁构建的一部分。我注意到csstidy这样做,但它不会很容易包括在我的蚂蚁构建,因为我需要在不同的平台上使用不同的二进制。
i need to compress my css as part of my ant build. i noticed that csstidy does this, but it would not be easy to include this in my ant build because i would need to use a different binary on different platforms.
是否有人使用的java css压缩程序?
so, is there a java css compressor that people use?
推荐答案
查看 Yahoo YUI压缩器。
它压缩CSS以及Javascript, Java。
It compresses CSS as well as Javascript, and it's written in Java.
编辑:您应该使用某种HTTP压缩以及,如mod_deflate或mod_gzip。
You should be using some sort of HTTP compression as well, like mod_deflate or mod_gzip.
这篇关于什么是好的跨平台css压缩程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文