Use a Cloudflare Cache Rule when a page must always be served from your origin server instead of Cloudflare's cache.
- Open the Hosting Control Panel and select CDN.
- Open the Cloudflare dashboard for the domain.
- In Cloudflare, select Rules > Cache Rules, then create a rule.
- Build a condition using URI Path or Full URI to match the page or directory that should not be cached.
- Set Cache eligibility to Bypass cache, then deploy the rule.
- Purge the affected URL once so any previously cached response is removed.
Use the narrowest possible match so other pages can continue to benefit from CDN caching.
Article ID: 2453, Created: August 2 at 8:56 AM, Modified: August 2 at 6:32 PM