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

XF 1.2 Gzip NGINX Or Xenforo Or Both?

Bill.D

Active member
#1
Hey Xenforo People :),

I just found out about this nifty config option:

PHP:
$config['enableGzip'] - default: true
If true, all textual content sent by XenForo will be automatically gzipped.
Now I currently have NGINX setup to do gzip. Should I enable this in Xenforo as well? Or is it a one or the other kind of thing? Furthermore, which one would be better if it is one or the other!?

Thanks,
-Bill
 

Mike

XenForo developer
Staff member
#2
If the content is already gzipped, it's unlikely nginx would touch it. So it's roughly your choice but if you're not seeing any issues now, you can probably just leave it.