Mod_deflate is an Apache Module that is widely used to save bandwidth consumption and optimization of resources. It even called Gzip Compression. It works as a middleman for serving requests to the client. It compresses the data before serving to the end-user who requested it.
- Login to your SSH with user ROOT.
- Now we have to edit one file. Here you can use any of your favorite editor for Linux.
- Now, just only remove ‘#‘ from #LoadModule deflate_module modules/mod_deflate.so
- The final step, Now only restart your HTTPD Service.
This is how you can enable Gzip Compression (Mod_deflate) in the CentOS panel.