Author Topic: Mod_deflate.co gzip compression problem  (Read 3608 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Mod_deflate.co gzip compression problem
« on: August 13, 2020, 09:25:54 AM »
It required several hours to determine why my sites were not compressing but here is what you MUST add to the bottom of the httpd.conf (apache congifuration file in cwp)

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.[0678] no-gzip
BrowserMatch bMSIEs7 !no-gzip !gzip-only-text/html
BrowserMatch bOpera !no-gzip
Header append Vary User-Agent

DeflateCompressionLevel 9
ตารางคะแนนพรีเมียร์ลีก 2020

Offline
*****
Re: Mod_deflate.co gzip compression problem
« Reply #1 on: August 16, 2020, 06:37:53 PM »
It required several hours to determine why my sites were not compressing but here is what you MUST add to the bottom of the httpd.conf (apache congifuration file in cwp)

AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.[0678] no-gzip
BrowserMatch bMSIEs7 !no-gzip !gzip-only-text/html
BrowserMatch bOpera !no-gzip
Header append Vary User-Agent

DeflateCompressionLevel 9
ตารางคะแนนพรีเมียร์ลีก 2020

Why do you think it must be added for all? Not at all people using it ;)
You can use .htaccess and add the compression or you can use the VirtualHost template and add it.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services