Install with:
$ mantrad download-component compressresponses@1.0.0
Or install last version with:
$ mantrad download-component compressresponses
README.md
compressresponses Mantra component
This component adds the middleware provide by compression module.
Configuration
The comoponent defines a simple configuration value at its file mantra.json to enable or disable this middleware:
"compressresponses": {
"enablecompression": true
},
You can override the value at ComponentsConfig section of mantraconfig.json project configuration file.