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
{{ message }}
Repository navigation
Measure no-transform Behind Cloudflare Before the Page Classes Carry It #495
Measure what Cache-Control: no-transform does to compression behind Cloudflare before the page classes carry it.
The host side proposed no-cache, no-transform for the page classes, so the bundle opts itself out of Cloudflare's Email Address Obfuscation and other content rewrites whatever the zone enables. The follow-up branch to #492 added it and then dropped it, because its effect on compression is not documented.
Cloudflare asks the origin for accept-encoding: br, gzip, so Caddy answers with a Brotli sibling.
Cloudflare's compression doc says no-transform "prevents Cloudflare from altering compression on responses". It does not say whether Cloudflare still decompresses for a client that sent no Accept-Encoding, or gzip only.
Should it pass the Brotli body through, such a client receives an encoding it never asked for. checks/check-live-urls.sh fetches each family page without --compressed and greps the body for <title>, so the release's own gate fails on a proxied family host.
Measure
On a proxied hostname, with a release that sends no-transform on one page:
curl -sI with no Accept-Encoding, with Accept-Encoding: gzip, and with br, gzip, recording content-encoding each time.
The family check, unmodified, against that host.
Add no-transform to the page classes only if a client that does not accept Brotli receives a body it can read. The zone keeps Email Address Obfuscation off in the meantime, which the host side applies from its zone settings.
Activity