---
title: Enabling GZIP Compression
description: "GZIP is a form of compression that can drastically speed up your site. Here's how you can enable it. ## Plesk GZIP is already tuned and enabled. You don't need to do anything, and shouldn't, as adding the rules below…"
url: "https://know.cynderhost.com/docs/enabling-gzip-compression/"
updated: "2021-11-14"
category: cPanel
---

# Enabling GZIP Compression

GZIP is a form of compression that can drastically speed up your site. Here's how you can enable it.

## Plesk

GZIP is already tuned and enabled. You don't need to do anything, and shouldn't, as adding the rules below may actually slow down your site.

## cPanel

Add the following rules via FTP or file manager to your .htaccess file. ("Showing hidden files" needs to be enabled in the cPanel file manager settings).

```
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
```

Save the file, and GZIP is now enabled.
