lannafred/nodeGal — Issue #3: Compression
Author: Ond
Created: 2012-01-30 14:26:52+00:00
State: open

Are you minifying your static assets?

It's a good idea to both minify & compress using gzip or deflate, and cache both server and client side.
My module "mod" takes care of everything but minification.

For minifying files I use YUICompressor ( http://developer.yahoo.com/yui/compressor/ )
Personally, I created an alias

```bash
alias compress="java -jar /usr/local/src/yuicompressor-2.4.7/build/yuicompressor-2.4.7.jar"
```

Usage is simply

```bash
compress somefile.js -o somefile.min.js
```