Enable compression on xenForo elements

Bonsai Coder

Active member
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.
 
Top Bottom