Overview
Your hosting includes LiteSpeed/OpenLiteSpeed, which supports Brotli (best) and Gzip (fallback). Compression reduces file size and improves loading speed.
Step 1 — Enable Brotli in Cloudflare
- Log in to Cloudflare
- Go to Speed → Optimization
- Enable:
- Brotli
- Auto Minify
- Polish (if you have Pro)
Step 2 — Check that Gzip is enabled on your server
LiteSpeed includes Gzip by default. To confirm:
- Visit checkgzipcompression.com
- Enter your domain
Step 3 — Enable LSCache (required)
Compression works best with LiteSpeed Cache:
- Page optimization
- HTML/CSS/JS minify
- Browser caching
Step 4 — Add compression headers manually (optional)
If needed, add these to .htaccess:
RewriteEngine On CacheLookup on
Benefits
- Smaller page sizes
- Faster loading
- Better PageSpeed Insights scores