xenforo.js gzip compression on nginx?

Juze

New member
Similar thread here.

So, my problem is that xenforo.js and jQuery are large JavaScript files and many tools, including Google PageSpeed tell me that they're not gzipped. However, the main site and rest of content and JavaScripts seems to be gzipped properly. I'm using latest stable nginx.

Code:
    gzip  on;
    gzip_http_version 1.1;
    gzip_vary on;
    gzip_comp_level 6;
    gzip_proxied any;
    gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript application/javascript text/x-js;
    gzip_buffers 16 8k;
    gzip_disable "MSIE [1-6]\.(?!.*SV1)";

Tried commenting out gzip_disable and reloading nginx without any luck. I could think the gzip_buffers to be related and I've tried raising the values without any luck there either. I'm testing with Waterfox, Chrome and various online tools, and they still claim the front page is gzipped but given a direct link to the JS, they aren't.

Any help?
 
Top Bottom