bricks-compress
文件大小: unknow
源码售价: 5 个金币 积分规则     积分充值
资源说明:output compression using gzip for bricks.js
# 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" });

本源码包内暂不包含可直接显示的源代码文件,请下载源码包。