GZIP not compressing .js and .css files..
wipeout_dude
nginx-forum at nginx.us
Mon Jan 2 17:08:09 UTC 2012
Hi,
My server doesn't appear to be compressing .js and .css files..
I have the following in my /etc/nginx/nginx.conf..
####
gzip on;
gzip_disable "msie6";
gzip_vary on;
# gzip_proxied any;
gzip_comp_level 1;
gzip_buffers 16 8k;
gzip_http_version 1.1;
gzip_types text/plain text/css application/json
application/x-javascript text/xml application/xml application/xml+rss
text/javascript;
####
Pagespeed in Chrome is telling me to enable compression and lists all
the .js and .css files..
Have I missed something?
TIA
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,220747,220747#msg-220747
More information about the nginx
mailing list