Jump to content

Gzip and nginx - how to check if working

Recommended Posts

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)";
Link to comment
Share on other sites

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.

Link to comment
Share on other sites


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

  • Recently Browsing   0 members

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