Closed IngwiePhoenix closed 8 years ago
Hello, what's your middleware order?
It should be
app.use(compression());
app.use(minify());
That is the very order. Here is the file, maybe you see soemthing then: http://git.ingwie.me/ingwie/bird3/blob/master/lib/request_handler.js http://git.ingwie.me/ingwie/bird3/blob/master/lib/request_handler.js
Am 17.01.2015 um 10:39 schrieb SummerWish notifications@github.com:
Hello, what's your middleware order?
It should be
app.use(compression()); app.use(minify()); — Reply to this email directly or view it on GitHub https://github.com/breeswish/express-minify/issues/16#issuecomment-70360790.
Clean up old issues. If the issue still exists, please comment here.
Hey there. I keep getting
ERR_CONTENT_DECODING_FAILED
messages from chrome while using this one and the compression module together.When I use cURL to look at the output, it looks perfectly right; but requesting this with the browser results in the above error.
Here is a snapshot of using CURL to get the file. Its a static asset generated by a different tool.