socketstream/socketstream — pull request #182 by nponeccop (2012-03-13 11:01:44+00:00)
Title: gzippo.staticGzip middleware is used instead of connect.static to serve static files

It's a patch implementing #165. Note that dependency on `gzippo` should also be added to `package.json`.

Apache Benchmark (ab) tool shows the same performance as before if `Accept-encoding: gzip` is not sent by HTTP user agent, and 3 times better improved performance if `Accept-encoding: gzip`. On my system with large 500KB asset.js it's 500 requests per second for connect.static and 1500 requests per second for gzippo.staticGzip. I used the following command line to benchmark:

```sh
ab -n 10000 -c 20 -H 'Accept-encoding: gzip' http://localhost:3000/assets/main/1331635163016.js
```