Answer :
GZIP compression reduces the size of your website’s files before they are sent to the visitor’s browser. This improves page loading speed and overall website performance. Most modern websites use GZIP to pass speed audits such as Google PageSpeed Insights or GTmetrix.
This article explains how to enable GZIP compression on GHFS Hosting using Plesk.
1. Check if GZIP Is Already Enabled
Before making changes, check your site with any online compression test tool or browser developer tools.
If compression is not enabled, proceed with the methods below.
2. Method 1: Enable GZIP in Plesk (Recommended)
Plesk allows enabling GZIP directly through the domain's web server settings.
Steps:
-
Log in to Plesk
-
Go to Websites & Domains
-
Click Apache & nginx Settings
-
Scroll to the nginx settings section
-
Ensure the following options are enabled (if available):
-
“Compress files”
-
“Enable gzip compression”
-
“Gzip static files”
-
Save the changes
After saving, GZIP should be active immediately.
3. Method 2: Enable GZIP Using .htaccess (Apache)
If your domain uses Apache (with or without nginx as a proxy), you can manually enable compression.
Add the following to your .htaccess file:
Save the file and reload your website.
4. Method 3: Enable GZIP with nginx (Custom Rules)
If your domain is configured to use nginx rules, add the following to the Additional nginx directives in Plesk:
Save settings to activate.
5. Method 4: Use a WordPress Plugin (If Applicable)
You can also enable GZIP through performance plugins such as:
-
WP Super Cache
-
W3 Total Cache
-
WP Rocket
-
LiteSpeed Cache (for LS-based servers)
These plugins apply GZIP rules automatically.
6. How to Verify GZIP Is Working
Use one of the following:
-
GTmetrix → “Enable GZIP” check
-
Google PageSpeed Insights → Diagnostics
-
Browser DevTools → Network → Check “Content-Encoding: gzip” or “br”
If the header appears, compression is active.
7. When to Contact GHFS Hosting Support
Contact support if:
-
GZIP does not activate after enabling
-
You are unsure where to apply directives
-
Your hosting plan restricts custom nginx rules
-
You experience errors after modifying .htaccess
Support can enable compression server-side or apply correct configuration for your plan.