I have a server that's not comprssing the output for any of the sites.
I've been though many suggestion in this forum, but nothing seems to work.
We do have another server with the same version of WHM & it is working on there & as far as I can see, the configuration is the same.
mod_deflate is installed in EasyApache 4
zlib.output_compression is anebled in the MultiPHP INI Editor for the php version being used (PHP7.3)
"Compress All Content" is selected in the cPanel for the sites
The .htaccess file has the following:
In the php.ini for each site, there is a line for:
zlib.output_compression On
Does anyone know where I can check next?
I've been though many suggestion in this forum, but nothing seems to work.
We do have another server with the same version of WHM & it is working on there & as far as I can see, the configuration is the same.
mod_deflate is installed in EasyApache 4
zlib.output_compression is anebled in the MultiPHP INI Editor for the php version being used (PHP7.3)
"Compress All Content" is selected in the cPanel for the sites
The .htaccess file has the following:
Code:
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE image/x-icon
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/x-font
AddOutputFilterByType DEFLATE application/x-font-truetype
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE application/x-font-otf
AddOutputFilterByType DEFLATE application/x-font-opentype
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/ttf
AddOutputFilterByType DEFLATE font/otf
AddOutputFilterByType DEFLATE font/opentype
# For Olders Browsers Which Can't Handle Compression
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>
zlib.output_compression On
Does anyone know where I can check next?