If you google "how to make my website faster", one of the top recommendations is "enable gzip compression".
And, it's something that you SHOULD activate, especially if you use a large CMS like WordPress.
However, how do you do that?
NOTE: If you don't feel comfortable editing sensitive files, then file a support ticket and let a support team member do it. However, even if you are comfortable editing files that might break your site should they be messed up, exercise a lot of caution during the process.
It's quite simple.
- Open the control panel and open the file manager (or sign in to your FTP client, whichever one you prefer), and go to the htdocs folder of the domain/subdomain you want to enable GZIP on.
- Then, open the .htaccess file (if you don't have one, make one). It might be hard to find, especially when you have a CMS installed.
-On a new line, paste in the following:
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>
- And then save. You may need to clear your website's cache to see the changes.