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/rules/configuration-rules/settings.mdx
+86-27Lines changed: 86 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,59 +92,81 @@ API configuration property name: `"disable_zaraz"` (boolean).
92
92
93
93
</Details>
94
94
95
-
## Hotlink Protection
95
+
## Email Obfuscation
96
96
97
-
[Hotlink Protection](/waf/tools/scrape-shield/hotlink-protection/) prevents your images from being used by other sites, potentially reducing the bandwidth consumed by your origin server.
97
+
[Email Obfuscation](/waf/tools/scrape-shield/email-address-obfuscation/) prevents spam by hiding email addresses from bots and harvesters while keeping them visible to human visitors to your site.
98
98
99
-
Use this setting to turn on or off Hotlink Protection for matching requests.
99
+
Use this setting to turn on or off Email Obfuscation for matching requests.
100
100
101
101
<Detailsheader="API information">
102
102
103
-
API configuration property name: `"hotlink_protection"` (boolean).
103
+
API configuration property name: `"email_obfuscation"` (boolean).
[Email Obfuscation](/waf/tools/scrape-shield/email-address-obfuscation/)helps in spam prevention by hiding email addresses appearing in your pages from email harvesters and other bots, while remaining visible to your site visitors.
117
+
[Cloudflare Fonts](/speed/optimization/content/fonts/)rewrites Google Fonts to be delivered from a website's own origin, eliminating the need to rely on third-party font providers.
118
118
119
-
Use this setting to turn on or off Email Obfuscation for matching requests.
119
+
Use this setting to turn on or off Cloudflare Fonts for matching requests.
120
120
121
121
<Detailsheader="API information">
122
122
123
-
API configuration property name: `"email_obfuscation"` (boolean).
123
+
API configuration property name: `"fonts"` (boolean).
[Cloudflare Fonts](/speed/optimization/content/fonts/)rewrites Google Fonts to be delivered from a website's own origin, eliminating the need to rely on third-party font providers.
137
+
[Hotlink Protection](/waf/tools/scrape-shield/hotlink-protection/)prevents your images from being used by other sites, potentially reducing the bandwidth consumed by your origin server.
138
138
139
-
Use this setting to turn on or off Cloudflare Fonts for matching requests.
139
+
Use this setting to turn on or off Hotlink Protection for matching requests.
140
140
141
141
<Detailsheader="API information">
142
142
143
-
API configuration property name: `"fonts"` (boolean).
143
+
API configuration property name: `"hotlink_protection"` (boolean).
When enabled, [Under Attack mode](/fundamentals/reference/under-attack-mode/) performs additional security checks to help mitigate layer 7 DDoS attacks. Validated users access your website and suspicious traffic is blocked.
158
+
159
+
Use this setting to turn on or off Under Attack mode for matching requests.
160
+
161
+
<Detailsheader="API information">
162
+
163
+
API configuration property name: `"security_level"` (string).
164
+
165
+
API values: `"off"`, `"essentially_off"`, `"under_attack"`.
166
+
167
+
```json title="API configuration example"
168
+
"action_parameters": {
169
+
"security_level": "under_attack"
148
170
}
149
171
```
150
172
@@ -201,41 +223,78 @@ API values: `"off"`, `"lossless"`, `"lossy"`, `"webp"`.
201
223
202
224
</Details>
203
225
204
-
## Rocket Loader
226
+
## Request Body Buffering
205
227
206
-
[Rocket Loader](/speed/optimization/content/rocket-loader/) prioritizes your website's content (such as text, images, and fonts) by deferring the loading of all your JavaScript code until after rendering.
228
+
Use the Request Body Buffering setting to configure the request body buffering mode for matching requests:
207
229
208
-
Use this setting to turn on or off Rocket Loader for matching requests.
230
+
-**Standard** (default): Allows Cloudflare products to inspect a prefix of the request body when necessary for enabled functionality on your zone.
231
+
-**Full**: Buffers the entire request body before sending the request to your origin server.
232
+
-**None**: Strictly no buffering. The request body is streamed directly to the origin server without inspection.
233
+
234
+
This setting only takes effect on zones running Cloudflare's [latest CDN proxy](https://blog.cloudflare.com/20-percent-internet-upgrade/). Enterprise customers can contact their account team to enable the latest proxy on their zones.
235
+
236
+
:::caution
237
+
Setting request body buffering to **None** may break functionality that requires body inspection. In particular, this can impact the effectiveness of the Web Application Firewall (WAF) and other security features that rely on analyzing request bodies to detect and block threats.
238
+
:::
209
239
210
240
<Detailsheader="API information">
211
241
212
-
API configuration property name: `"rocket_loader"` (boolean).
242
+
API configuration property name: `"request_body_buffering"` (string).
When enabled, [Under Attack mode](/fundamentals/reference/under-attack-mode/) performs additional security checks to help mitigate layer 7 DDoS attacks. Validated users access your website and suspicious traffic is blocked.
258
+
Use the Response Body Buffering setting to configure the response body buffering mode for matching requests:
227
259
228
-
Use this setting to turn on or off Under Attack mode for matching requests.
260
+
-**Standard** (default): Allows Cloudflare products to inspect a prefix of the response body when necessary for enabled functionality on your zone.
261
+
-**None**: Strictly no buffering. The response body is streamed directly to the client without inspection.
262
+
263
+
This setting only takes effect on zones running Cloudflare's [latest CDN proxy](https://blog.cloudflare.com/20-percent-internet-upgrade/). Enterprise customers can contact their account team to enable the latest proxy on their zones.
264
+
265
+
:::caution
266
+
Setting response body buffering to **None** may break functionality that requires body inspection. In particular, this can impact the effectiveness of the Web Application Firewall (WAF) and other security features that rely on analyzing response bodies to detect and block threats.
267
+
:::
229
268
230
269
<Detailsheader="API information">
231
270
232
-
API configuration property name: `"security_level"` (string).
271
+
API configuration property name: `"response_body_buffering"` (string).
233
272
234
-
API values: `"off"`, `"essentially_off"`, `"under_attack"`.
[Rocket Loader](/speed/optimization/content/rocket-loader/) prioritizes your website's content (such as text, images, and fonts) by deferring the loading of all your JavaScript code until after rendering.
288
+
289
+
Use this setting to turn on or off Rocket Loader for matching requests.
290
+
291
+
<Detailsheader="API information">
292
+
293
+
API configuration property name: `"rocket_loader"` (boolean).
0 commit comments