Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/content/changelogs/api-deprecations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ entries:
description: |-
Deprecation date: August 15, 2024

The Brotli setting and its API endpoints are deprecated. After the end of life date, Brotli compression will be enabled by default for all zones.
The Brotli setting and its API endpoints are deprecated. Brotli compression is now enabled for all non-Enterprise zones, and it will be extended to Enterprise zones in the coming year.

Deprecated APIs:

Expand Down
4 changes: 2 additions & 2 deletions src/content/docs/rules/compression-rules/settings.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Allowed values are the following:
If you specify only _Gzip_, _Brotli_, or _Zstandard_ and no algorithm matches, the response will have no compression. To configure a fallback compression mechanism, add _Auto_ to the list.

:::note
The compression applied by the _Default_ option takes into account global configuration settings such as [Enable Brotli compression](/speed/optimization/content/compression/).
The compression applied by the _Default_ option takes into account any configured compression rules that match incoming requests.
:::

---
Expand Down Expand Up @@ -76,7 +76,7 @@ If you include `none`, `default`, or `auto` in the list, it must be the last val
When you specify only the `gzip`, `brotli`, or `zstd` algorithms, if no algorithm matches then the response will have no compression. To configure a fallback compression mechanism, add `auto` to the list.

:::note
The compression applied by the `default` algorithm takes into account global configuration settings such as [Enable Brotli compression](/speed/optimization/content/compression/).
The compression applied by the `default` algorithm takes into account any configured compression rules that match incoming requests.
:::

For API examples, refer to the [Examples gallery](/rules/compression-rules/examples/).
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ application/geo+json
Cloudflare's global network can deliver content to website visitors using Gzip compression, Brotli compression, Zstandard compression, or no compression, depending on:

- The values visitors provide in the `accept-encoding` request header.
- The value of the [Brotli setting](/speed/optimization/content/compression/) at the zone level.
- Any configured [compression rule](/rules/compression-rules/) that matches incoming requests.

For responses with error status codes, Cloudflare will only compress responses if their error status code is `403` or `404`. For successful response status codes, Cloudflare will only compress responses if their status code is `200`. Responses with other status codes will not be compressed.
Expand Down
Loading