egg-etag
Wrap koa-etag and koa-conditional-get for egg
For better performance, we recommend to use Nginx ETag rather than use this plugin.
Install
$ npm i egg-etag --save
Usage
// {app_root}/config/plugin.js
exports.etag = {
package: 'egg-etag',
};
Configuration
Support all configurations in etag.
// {app_root}/config/config.default.js
exports.etag = {
weak: false,
};
Questions & Suggestions
Please open an issue here.