Why Enable GZIP

Faster loading: Reduces file size by up to 70%.

Check Current Status

Use browser dev tools → Network → Look for 'Content-Encoding: gzip'.

Enable Methods

Add to .htaccess

# Enable GZIP compression
<IfModule mod_deflate.c>
  AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
</IfModule>

Use Optimize Website Tool

cPanel → Optimize Website → Select 'Compress all content' → Update Settings.

Supported File Types Table

File TypeTypical Reduction
CSS/JS70-80%
HTML60-70%
Text/XML50-60%