Skip to content

Commit 0a119e2

Browse files
authored
Update response-buffering.mdx
added this: Additionally, buffering is expected behavior when other Cloudflare features are enabled that require inspection of the response. Cloudflare must buffer the response to read and potentially change the response body before delivery. Common features that necessitate response buffering include compression rules, HTML modifications (like Email Obfuscation or Rocket Loader), WAF/Rate Limiting rules that inspect response content, etc.
1 parent e04a31f commit 0a119e2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/content/docs/network/response-buffering.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ By default, Cloudflare **streams** traffic data, meaning that each packet is sen
1818

1919
If your domain sends many small packets, however, it might be faster to **buffer** the file. This approach waits to send the full file until all packets are ready, preventing a client browser from having to re-assemble packets.
2020

21+
Additionally, buffering is expected behavior when other Cloudflare features are enabled that require inspection of the response. Cloudflare must buffer the response to read and potentially change the response body before delivery. Common features that necessitate response buffering include compression rules, HTML modifications (like Email Obfuscation or Rocket Loader), WAF/Rate Limiting rules that inspect response content, etc.
22+
2123
## Enable Response Buffering
2224

2325
<Tabs syncKey="dashPlusAPI"> <TabItem label="Dashboard">

0 commit comments

Comments
 (0)