Search
Setup for Free
CD
Cloudflare Developers
•
2y ago
starina_cool
Brotli via cloudflared
It is impossible to use brotli from origin since cloudflared make HTTP 1
.1 requests to local services via unsecure connections
. It changes Accept
-Encoding to gzip only
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
83,384
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
cloudflared tunnel via Docker
CD
Cloudflare Developers / general-help
2y ago
Synology DSM access via cloudflared tunnel
CD
Cloudflare Developers / general-help
2y ago
RDP via Cloudflared Tunnel is Slow.
CD
Cloudflare Developers / general-help
2y ago
Access cloudflared routable resource via Proxy Endpoint?
CD
Cloudflare Developers / general-help
12mo ago
C
Cyb3r-Jak3
•
7/7/24, 5:06 AM
Cloudflared can make HTTP
/2 connections over HTTPS if the tunnel is configured that way
. Though haven
't tried that to see if Brotli works
C
Cyb3r-Jak3
Cloudflared can make HTTP/2 connections over HTTPS if the tunnel is configured t...
S
starina_cool
OP
•
7/7/24, 6:36 AM
Yes
. It is true
. But using encryption for localhost requests is an overkill as I see
. it
.
S
starina_cool
Yes. It is true. But using encryption for localhost requests is an overkill as I...
C
Cyb3r-Jak3
•
7/7/24, 6:41 AM
True but brotli is only supported over HTTPS
C
Cyb3r-Jak3
•
7/7/24, 6:41 AM
See
https://groups.google.com/g/brotli/c/fN6M9A8aRnM/m/WDzmSYhDAQAJ
C
Cyb3r-Jak3
See https://groups.google.com/g/brotli/c/fN6M9A8aRnM/m/WDzmSYhDAQAJ
S
starina_cool
OP
•
7/7/24, 9:22 AM
Yes
, I know
. Maybe it i a good idea to implement brotli inside cloudflared
.
S
starina_cool
Yes, I know. Maybe it i a good idea to implement brotli inside cloudflared.
C
Cyb3r-Jak3
•
7/7/24, 2:49 PM
What do you mean inside cloudflared
? Why would cloudflared go against the spec of brotli
?
C
Cyb3r-Jak3
What do you mean inside cloudflared? Why would cloudflared go against the spec o...
S
starina_cool
OP
•
7/7/24, 4:49 PM
I mean after receiving data from local service compress it with brotli befor sending back to CF DC and the to the client
.
S
starina_cool
I mean after receiving data from local service compress it with brotli befor sen...
C
Cyb3r-Jak3
•
7/7/24, 4:51 PM
Ah gotcha
. You could open a feature request for this
https://github.com/cloudflare/cloudflared/issues/new?assignees=&labels=Priority%3A+Normal%2C+Type%3A+Feature+Request&projects=&template=---feature-request.md&title=%F0%9F%92%A1
GitHub
Build software better, together
GitHub is where people build software
. More than 100 million people use GitHub to discover
, fork
, and contribute to over 420 million projects
.