Compression reduces the transferred size of responses such as HTML, CSS, and JavaScript. It can improve loading times and reduce transferred data. Results depend on the content and client support; different files will not receive the same reduction.
Configure compression
Each switch appears when its feature is included in the plan or an enabled option. Site management must be available. Replace example.com with your domain.
- Open WebShield → example.com → Site protect settings.
- Enable GZIP compression.
- Enable Brotli compression if it is available.
- Wait for Saved... beside each change. Settings save automatically and then synchronize with protection servers.
- Reload the panel to confirm that both values were retained.

You do not need to choose a single format for every visitor. Check the encoding of an actual response: enabling both switches does not mean the same response is compressed twice.
Verify on your website
Open the browser’s developer tools → Network, disable browser caching, and reload the page. Select a text resource, such as a stylesheet, and inspect its Content-Encoding response header. A compressed response should identify gzip or br. Compare transfer sizes before and after the change using the same resource and conditions.
A missing header on one file does not by itself establish that compression is broken. Confirm that the request passed through WebShield, the client requested a supported encoding, and the resource is suitable for compression. Already compressed formats may show little benefit.
If enabling compression introduces a reproducible problem, disable only the last option changed, allow time for application, and repeat the request. Record its URL and headers for support.
Compression and caching serve different purposes. Compression reduces transferred response size; caching can avoid fetching the same file repeatedly from the origin.