How to enable Gzip compression Plesk – Apache
If you are using Apache web server on your Plesk server, you can enable Gzip compression on Plesk by using the following method.
Please click here to know how to enable Gzip compression on Plesk using Nginx web server.
First you need to check the module mod_deflate is enabled on the server.
httpd -M |grep deflate
Then you need to create the file /etc/httpd/conf.d/deflate.conf
vim /etc/httpd/conf.d/deflate.conf
and add the following into it.
<ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript DeflateCompressionLevel 8 </ifmodule>
Restart Apache
/etc/init.d/httpd restart
Once it is done, you can verify the Gzip is enabled on your website by clicking Here
If you like this post and wish to receive more articles from us, please like our FB page: Grepitout
Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.
For more details on our services, please drop us an E-mail at info@grepitout.com
[…] Plesk server, you can enable Gzip compression on Plesk by using the following method. Please click here to know how to enable Gzip compression on Plesk with Apache web […]