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

CSS, HTML, JS gzip compression options ?

p4guru

Well-known member
#1
Could someone clarify how xenforo handles compression for CSS, HTML and JS files and content ? I read that xenforo handles CSS and HTML compression via PHP gzip and JS is left to Apache by default ? Is this still true now with v1.0.1 ?

I ask as I can't find anywhere in admincp to turn off gzip like you can with vB admincp when you have server end already configured to handle css, html and js static file compression through Apache, nginx or litespeed web servers.

thanks
 

Jeremy P

Well-known member
#2
Since CSS and HTML are ran through PHP, while JS is not, I am guessing it's all the same with v1.0.1.

Supposedly the option was left out intentionally, and the internal system is automatically disabled when the server is compressing the files.
 

Brogan

XenForo moderator
Staff member
#3

p4guru

Well-known member
#4
Thanks guys... just wondering if xenforo's gzip check works okay with alternative web servers other than apache ? i.e. nginx, lighttpd and litespeed web server as I use these rather than Apache.