0

What compressor is the best for javascript and css minified ? I am using YUI compressor , now. Any other best than YUI compressor ?

saturngod
  • 24,649
  • 17
  • 62
  • 87

4 Answers4

2

For JavaScript you could check for your self via the CompressorRater.

Another JavaScript compressor to note is the one that Google uses closure, checkout this article, which is not featured there.

Zoran Regvart
  • 4,630
  • 22
  • 35
  • can compress CSS ? I can't find it ? Do you know css compressor ? closure is a another great tool for JS ;) – saturngod Dec 26 '09 at 13:18
  • CompressorRater is only for JavaScript, checkout various links on css compression and pick your favorite (I'm using Yahoo's YUI compressor): http://designshack.co.uk/articles/css/18-css-compression-tools-and-techniques http://developer.yahoo.com/yui/compressor/ http://www.phpied.com/cssmin-js/ http://www.cssdrive.com/index.php/main/csscompressor/ – Zoran Regvart Dec 26 '09 at 13:42
  • oh! great.. http://designshack.co.uk/articles/css/18-css-compression-tools-and-techniques – saturngod Dec 27 '09 at 04:13
2

I like Shrinksafe

Many other tools also shrink JavaScript files, but ShrinkSafe is different. Instead of relying on brittle regular expressions, ShrinkSafe is based on Rhino, a JavaScript interpreter. This allows ShrinkSafe to transform the source of a file with much more confidence that the resulting script will function identically to the file you uploaded.

For CSS you can use Minify

Gazzer
  • 4,524
  • 10
  • 39
  • 49
0

I'm using JSMin service. I don't know if it's better or worse then YUI Compressor but it works well.

RaYell
  • 69,610
  • 20
  • 126
  • 152
0

try http://shrinker.ch . it uses yuicompresspor for css files and google closure for javascript + some kind of magic.