Reference guide · cloudflare · Published 2026-08-16 · 3 min read

Cloudflare zone settings reference

Cloudflare zone settings: Brotli, 0-RTT, HTTP/2 to origin, IP Geolocation, Security Level and more, with defaults and plan availability.

Flat editorial illustration showing a planetary shield with concentric orbit rings, one radial segment glowing as a small request dot climbs.
Illustration: this article at a glance.

Backdrop: per-zone, not per-account

Zone settings are the knobs that shape how Cloudflare behaves for one domain. They are distinct from the account-level configuration in proxy mode and from the SSL modes that set how Cloudflare talks to the origin. Where a rule targets a URL pattern, a zone setting applies across the whole zone unless a rule narrows it. The dashboard path for most of these is Speed > Settings (for performance) and Security > Settings (for security), with the setting-level API /zones/{zone_id}/settings.

Performance toggles and their defaults

Security settings

Changing a zone setting

The dashboard exposes the toggles; the API exposes the same state. For example, to enable 0-RTT:

curl -X PATCH "https://api.cloudflare.com/client/v4/zones/${ZONE_ID}/settings/0rtt" \
  -H "Authorization: Bearer ${CF_TOKEN}" \
  --data '{"value":"on"}'

Because most performance settings are already sane defaults (Brotli always on, HTTP/2 to origin on), the settings that repay attention are the ones that add behaviour with a trade-off, 0-RTT (speed versus replay risk) and IP Geolocation (origin headers versus an extra transmitted signal). Pair any change with a check of the caching defaults so the performance story at the edge and at the origin stays coherent.

Need a website built, fixed, optimised, migrated or replaced?

This technical resource is written by CSMBAC, a small design and development studio. If you would rather hand the problem to a professional, the website service page explains how we build enquiry-ready websites.

Explore website services