Quantcast
Channel: express.js compress middleware do not work - Stack Overflow
Browsing all 3 articles
Browse latest View live

Answer by Kirill for express.js compress middleware do not work

The problem was in rerouting to 80-th port like : iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080Thanks to @robertklep for help!

View Article



Answer by robertklep for express.js compress middleware do not work

There are several reasons why your static content may not get compressed:express.compress maintains a minimum file size threshold; files with a size below this threshold (default: 1024 bytes) won't get...

View Article

Image may be NSFW.
Clik here to view.

express.js compress middleware do not work

I have the following middlewares in my app:app.use(express.favicon(__dirname...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images