Jump to content

Gzip and nginx - how to check if working


Recommended Posts

Posted

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?

post-98039-0-81298700-1390518718_thumb.j

Posted

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)";
Posted

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.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...