Enable compression on xenForo elements



Well-known member
This is a webserver thing to compress javascript files as they are sent.

For nginx a stanza such as:

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 "text/javascript; charset=UTF-8" "text/html; charset=UTF-8";
Should catch the relevant mime-types that can be compressed from an XF install.
Thank you! Just had to run EasyApache to compile in mod_deflate. It's working like a charm! Thank you for pointing me in the right direction!