Closed AlmogBaku closed 8 years ago
I think we have enabled compression on express correctly
The three primary steps are there
var compression = require('compression');
app.use(compression()); //use compression
app.use(express.static(path.join(__dirname, 'public')));
But I'm confused why its not working for the dist folder inside bower_components which is what the issue (https://github.com/linnovate/mean/issues/753) required?
where is it enabled? I couldn't find any refs for thats... =o
check config/express.js - its the recommended way also :-)
Hi guys -what is the verdict on this @pratik60 can you prepare an organized PR?
@liorkesos - Please close this. Its not the right issue, the correct issue is here => https://github.com/linnovate/mean/issues/753
Creating PR on both mean and meanio, and sending it in 10 minutes
@liorkesos Looks like this was resolved, and possibly not relevant anymore with the use of web pack.
see https://github.com/linnovate/mean/issues/753
https://github.com/expressjs/compression