Which Cloudflare product(s) does this pertain to?
Workers Runtime
What versions & operating system are you using?
Wrangler v4.10.0
Please provide a link to a minimal reproduction
https://edge-chat-demo.cloudflareworkers.com/
Describe the Bug
The docs suggest that Websocket connections are compressed by default ( https://developers.cloudflare.com/workers/configuration/compatibility-flags/#websocket-compression ).
But no matter what we tried, the Cloudflare server side never accepts the permessage-deflate extension.
You can try it directly in any of the live demos from the docs: https://developers.cloudflare.com/durable-objects/demos/
For example the Cloudflare Workers Chat Demo demo: https://edge-chat-demo.cloudflareworkers.com/
Source: https://github.com/cloudflare/workers-chat-demo
Steps to reproduce:
- With Chrome DevTools open, go to https://edge-chat-demo.cloudflareworkers.com/
- Fill your name and a chat room to enter.
- Go to Chrome DevTools > Network > WS > and look for the websocket connection.
Expected: sec-websocket-extensions: permessage-deflate should be in the response header.
Currently: It is not.
Which Cloudflare product(s) does this pertain to?
Workers Runtime
What versions & operating system are you using?
Wrangler v4.10.0
Please provide a link to a minimal reproduction
https://edge-chat-demo.cloudflareworkers.com/
Describe the Bug
The docs suggest that Websocket connections are compressed by default ( https://developers.cloudflare.com/workers/configuration/compatibility-flags/#websocket-compression ).
But no matter what we tried, the Cloudflare server side never accepts the
permessage-deflateextension.You can try it directly in any of the live demos from the docs: https://developers.cloudflare.com/durable-objects/demos/
For example the Cloudflare Workers Chat Demo demo: https://edge-chat-demo.cloudflareworkers.com/
Source: https://github.com/cloudflare/workers-chat-demo
Steps to reproduce:
Expected:
sec-websocket-extensions: permessage-deflateshould be in the response header.Currently: It is not.