Performance · NinjaOps Guides
Brotli and Gzip: Enable Compression at the Edge
Uncompressed HTML is 70%+ waste on the wire. Brotli is the modern default; gzip is the universal floor. Either turns a 100KB page into ~20KB on the wire.
How to fix it
- Enable Brotli in your CDN (Cloudflare: Speed → Optimization → Brotli on).
- Verify with curl -H 'Accept-Encoding: br' -I and read content-encoding.
- Cache the compressed variant at the edge — compress once, serve millions.
- Don't double-compress already-compressed images/videos.
Diagnose this exact issue on your site — free
The 100-Point Affiliate Site Grader runs this check (and 40+ more) on your live site in ~10 seconds. No signup.
Want it fixed for you?
The Zero-Overhead Affiliate Playbook walks through every gap in this guide in 14 days on a $0 stack. Join the launch list →
More Performance fixes: