Welcome! Log In Create A New Profile

Advanced

GZIP not compressing .js and .css files..

January 02, 2012 12:08PM
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
Subject Author Posted

GZIP not compressing .js and .css files..

wipeout_dude January 02, 2012 12:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready