Friday 28 September 2018

[Question] Compression not working

So I have installed NPM package "Compression" into my app and included the following lines per the documentation:var compression = require('compression') var express = require('express') var app = express() app.use(compression()) However, when I run tests it still says gzip is not enabled. I'm not sure what further steps I should have taken or what I missed.Any insight would be greatly appreciated

Submitted September 28, 2018 at 07:20PM by onlyslavesobey

No comments:

Post a Comment