Cloudflare Respect Strong ETags: A Guide for Website Owners
Learn how to configure a Cloudflare Cache Rule so matching website content is eligible for cache and uses the documented strong ETag header setting.
Facts that can change should include a source and check date. Benchmark claims should state the plan, region, method, and test period.
To make Cloudflare use its documented Respect Strong ETags setting for a website, create a Cache Rule scoped to the intended hostname, set Cache eligibility to Eligible for cache, and turn on Respect strong ETags → Use strong ETag headers. In Cloudflare’s example, the hostname match is Hostname contains "example.com" or (http.host contains "example.com"); replace example.com with the hostname covered by your rule.
What the rule controls#
Cloudflare describes caching as storing copies of frequently accessed resources, such as images, videos, and webpages, in distributed data centers. Cache Rules let website owners specify which resources should be cached and for how long. The documented example adds the strong ETag setting to that cache configuration for matching content.
Configure the documented pattern#
Create a Cache Rule in Cloudflare and use these values:
| Rule setting | Value |
|---|---|
| Hostname match | Hostname contains "example.com" or (http.host contains "example.com") |
| Cache eligibility | Eligible for cache |
| Respect strong ETags → Use strong ETag headers | On |
Replace example.com with the hostname the rule should cover. If the site uses multiple hostnames, scope the rule deliberately so the setting applies only to the intended hostname or hostnames.
Check the scope#
Confirm that the hostname condition identifies the site whose content you intend to make eligible for Cloudflare’s cache. Also review the resources and caching duration covered by the Cache Rules configuration, since Cloudflare documents Cache Rules as the place to specify what should be cached and for how long.
This configuration pattern is specific to Cloudflare. Other hosting or CDN providers may use different names, conditions, or controls, so do not assume that the same setting exists elsewhere.
Sources
- Cloudflare: Respect Strong ETags Checked 2026-11-23
- Cloudflare cache documentation Checked 2026-11-23