0.2.0 • Published 12 years ago

bricks-compress v0.2.0

Weekly downloads
2
License
MIT/X11
Repository
github
Last release
12 years ago

BREAKING CHANGE

As of v0.2.0, bricks-compress is only available for node v0.6+

bricks-compress

bricks-compress adds output deflating using gzip to bricks.js. To be most effective, this plugin should be added to the post route.

Installing

npm install bricks-compress

Usage

var compress = require('bricks-compress');

appServer.addRoute(".+", compress, { section: "post" });

// or selectively
appServer.addRoute(".+css$", compress, { section: "post" });
0.2.0

12 years ago

0.1.1

13 years ago

0.1.0

13 years ago