If you want to optimize your website and for increasing seo score:
Login Centos Web Panel,Goto Apache Settings/ Apache vHosts Template and Insert the following Lines :
1) Activating gzip and compressing css, images and js files with mod_deflate on Apache
Find this lines :
<Directory "%homedir%/%username%/public_html">
AllowOverride All
*Add after: (Ensure, this lines should be between "<Directory> </Directory>"
<IfModule mod_mime.c>
AddType application/x-javascript .js
AddType text/css .css
</IfModule>
<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/css application/x-javascript text/x-component text/html text/plain text/xml application/javascript
<IfModule mod_setenvif.c>
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch MSIE !no-gzip !gzip-only-text/html
</IfModule>
</IfModule>
2) Make Browsers Cache Static Files With mod_expires On Apache
Insert this line :
<IfModule mod_expires.c>
ExpiresActive on
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
</IfModule>
Preview:
Now we should click "Rebuild Virtual Hosts", then click "Rebuild All Virtual Hosts for activating changes on the all websites:
All ok.
You can check status with this website :
http://checkgzipcompression.com/If you want to reverse changes , you should go this folder and restore last files on ftp : /usr/local/cwp/.conf/backups/file_editor_backups/