Quantcast
Channel: NGINX gzip not compressing JavaScript files - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by iqmaker for NGINX gzip not compressing JavaScript files

Work for me (nginx):gzip on;gzip_disable "msie6";gzip_comp_level 6;gzip_min_length 1100;gzip_buffers 16 8k;gzip_proxied any;gzip_types text/plain text/css text/js text/xml text/javascript...

View Article



Answer by Mauro Colella for NGINX gzip not compressing JavaScript files

This is interesting, because the best-supported, old standard mime type for javascript in the browser is actually text/javascript. And if you configure that, in /etc/nginx/mime.types, it...

View Article

Answer by Giacomo1968 for NGINX gzip not compressing JavaScript files

Change this line:gzip_types text/plain application/x-javascript text/xml text/css;To be this:gzip_types text/plain application/javascript application/x-javascript text/javascript text/xml text/css;Note...

View Article

NGINX gzip not compressing JavaScript files

All JavaScript files are not compressed by nginx gzip.CSS files are working.In my nginx.conf I have the following lines:gzip on;gzip_disable "MSIE [1-6]\.(?!.*SV1)";gzip_proxied any;gzip_buffers 16...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images