How to Enable Gzip Compression
You can enable GZIP compression using two different Apache mods: mod_deflate and mod_gzip. Both allow compression from the server before files are sent to a browser. However, mod_deflate is recommended. It is more widely supported than mod_gzip. In addition, it is documented better and configured easily. If it’s dysfunctional, you can use mod_gzip. We have provided both Apache mods below for your reference.
Enable GZIP compression
Here's a detailed instruction to enable GZIP compression in the .htaccess file:
- Access the File Manager.
- Locate the public_html folder on the left menu panel. Select the folder of the domain name you wish to manage.
- Click the .htaccess file, then select Code Editor button at the upper part of the page.
You may also right-click .htaccess, then select Code Edit.
- Add one of the following scripts inside the .htaccess file:
Enable mod_deflate (recommended):
- Click the Save Changes button at the upper right-hand corner.
Please let us know if you need any further assistance, or if you have any questions. We'd love to help!
Fantastic...Thank you for your feedback =)
Sorry... Please submit a support ticket or try another search.
Support ticket has been sent to your email, please check for your ticket id.
- How to Create an Addon Domain
- How to Install WordPress on Your Web Hosting Server
- How to Install One-Click Apps
- How to Host Multiple Websites
- How to Set up a New FTP Account