• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Enable compression on xenForo elements

#1

Xon

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

For nginx a stanza such as:

Code:
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.
 
#3
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!