Warningperformance
Gzip Compression Disabled
How enabling gzip in Nginx reduces bandwidth and improves page load times.
What This Rule Checks
This rule checks whether gzip compression is enabled.
Why It Matters
Gzip compression reduces the size of text-based responses (HTML, CSS, JavaScript, JSON) by 60-80%. This significantly reduces bandwidth usage and improves page load times, especially on slower connections.
✗ Bad — Triggers this rule
server {
listen 80;
server_name example.com;
# gzip is off by default
}✓ Good — Passes this rule
server {
listen 80;
server_name example.com;
gzip on;
gzip_vary on;
gzip_min_length 1024;
gzip_types text/plain text/css application/json application/javascript text/xml;
}How to Fix
Enable gzip in Configen's Performance section. The generator will add optimized gzip settings automatically.