You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/cache/reference/etag-headers.mdx
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,9 @@ The Cloudflare network will take the following actions, depending on the visitor
44
44
|`br`| GZIP | Decompress GZIP and return uncompressed response to visitor with weak ETag header: `etag: W/"foobar"`. |
45
45
|`gzip`| Brotli | Decompress Brotli and return uncompressed response to visitor with weak ETag header: `etag: W/"foobar"`. |
46
46
|`gzip`| (none) | Return uncompressed response to visitor with strong ETag header: `etag: "foobar"`. |
47
+
| `gzip, br, zstd` | Zstandard | Return zstd-compressed response to visitor with strong ETag header: `etag: "foobar"`.
48
+
| `gzip, br` | Zstandard | Decompress zstd and return br response to visitor with weak ETag header: `etag: W/"foobar"`.
49
+
|`zstd`| Brotli/GZIP | Decompress zstd and return zstd response to visitor with weak ETag header: `etag: W/"foobar"`. |
47
50
48
51
</table-wrap>
49
52
@@ -74,9 +77,14 @@ The Cloudflare network will take the following actions, depending on the visitor
74
77
|`br`| GZIP | Decompress GZIP and return Brotli-compressed response to visitor with weak ETag header: `etag: W/"foobar"`. |
75
78
|`gzip`| Brotli | Decompress Brotli and return GZIP-compressed response to visitor with weak ETag header: `etag: W/"foobar"`. |
76
79
|`gzip`| (none) | Compress origin response using GZIP and return it to visitor with weak ETag header: `etag: W/"foobar"`. |
80
+
|`gzip, br, zstd`| Zstandard | Return zstd-compressed response to visitor with strong ETag header: `etag: "foobar"`. |
81
+
|`gzip, br`| Zstandard | Decompress zstd and return uncompressed response to visitor with weak ETag header: `etag: W/"foobar"`. |
82
+
|`zstd`| Brotli | Decompress zstd and return uncompressed response to visitor with weak ETag header: `etag: W/"foobar"`. |
77
83
78
84
</table-wrap>
79
85
86
+
Refer to [Content compression](/speed/optimization/content/compression/) for more information.
87
+
80
88
## Important remarks
81
89
82
90
* You must set the value in a strong ETag header using double quotes (for example, `etag: "foobar"`). If you use an incorrect format, Cloudflare will remove the ETag header instead of converting it to a weak ETag.
0 commit comments