yacenty Posted January 23, 2014 Posted January 23, 2014 Hi Guys - short question, how to check if gzip is working?
yacenty Posted January 23, 2014 Author Posted January 23, 2014 Hi guys we had enabled gzip in nginx. in acp we had set up disable_gzip to YES unfortunatelly in many testers of gzziping webpages only some files are gzipped. Attached list on which are, which are not. Is it ok? how to fix it?
handsoffsam Posted January 24, 2014 Posted January 24, 2014 Without seeing your nginx configuration, it is hard to know for sure, but I would start by suggesting that you look at your gzip_types directive. robert
yacenty Posted January 24, 2014 Author Posted January 24, 2014 it's coppied from this forum, from Kirito instruction how to set up nginx for board # GZIP static content not processed by IPB. gzip on; gzip_static 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 application/xml application/xml+rss text/javascript application/javascript text/x-js; gzip_buffers 16 8k; gzip_disable "MSIE [1-6].(?!.*SV1)";
yacenty Posted January 25, 2014 Author Posted January 25, 2014 done, we had to change setting in board acp, now 100% files are compressed
Makoto Posted January 28, 2014 Posted January 28, 2014 You shouldn't need to gzip output in IP.Board/using PHP (ignoring the comment I have in that configuration). I would have to see your full configuration to figure out why gzip compression was not working for you, because it seems none of your static resources were being compressed. This indicates something is not configured correctly in Nginx. There's nothing particularly wrong with using IP.Board to minify and compress output though, it's just not as efficient.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.