Why it matters
Compression typically shrinks text files by 70–80%. Without it, every page takes noticeably longer to download, especially on mobile.
How to fix it in WordPress
- Ask your host to enable Gzip or Brotli compression — most do this in one click from the hosting panel.
- If you use Cloudflare, compression is applied automatically for proxied (orange-cloud) traffic.
- On Apache hosting, your caching plugin can add compression rules to .htaccess.
Plugin-specific steps
Already using one of these plugins? Follow the exact steps for your setup.
WP Rocket
- 1On Apache servers WP Rocket adds Gzip rules to .htaccess automatically when activated.
- 2Deactivate and reactivate WP Rocket to rewrite the rules if they're missing.
- 3On Nginx, ask your host to enable gzip — WP Rocket can't change Nginx config.
W3 Total Cache
- 1Go to Performance → Browser Cache.
- 2Check 'Enable HTTP (gzip) compression' (and Brotli if available) for CSS & JS, HTML & XML and other files.
- 3Save all settings and purge caches.
How to verify the fix
- In DevTools → Network, click the HTML document and confirm the 'content-encoding' response header is 'br' or 'gzip'.