CDN and caching · Article 0178
How to Troubleshoot Cloudflare Cache Issues on a Website
Use this evidence-first guide to diagnose the specific symptom, make the smallest justified change, and confirm that the original workflow is restored.
What the symptom usually means
This symptom is a clue, not a diagnosis. For “How to Troubleshoot Cloudflare Cache Issues on a Website,” the cause may sit in configuration, routing, application behavior, or an upstream service. Confirm the failing layer from the response and logs before changing settings.
Cache/CDN/security-layer checks
- Compare response headers and timing with the layer enabled and bypassed only through a documented, safe test path. Record cache status, request ID, and the exact affected asset or URL.
- Check whether the problem is stale content, an origin response, a blocked request, or a cache key/cookie issue. Avoid globally disabling security or caching on production as a first step.
- Purge only the relevant cache after the origin content/configuration is correct, then test logged-in and logged-out behavior.
Checks to run first
- Compare a private window, a second network, and different regions if possible; record cache-status and age headers.
- Check the origin response before purging the CDN so you know which layer contains stale content.
- Review cache keys, cookies, query strings, device variation, geographic rules, and deployment invalidation settings.
- Purge only the affected URL/layer first and preserve unrelated security and bypass rules.
Measure before changing performance settings
Use these checks to isolate the specific failure described in this guide.
Step-by-step troubleshooting
- Reproduce the exact symptom described by “How to Troubleshoot Cloudflare Cache Issues on a Website” and record the URL, timestamp, browser or client, expected result, and actual result. Compare with one unaffected URL or action to narrow the scope.
- Check the relevant first-party status page, application/server logs, browser network response, and recent changes. Use the response code or log message as evidence rather than guessing at the cause.
- Change one setting or component directly related to the evidence, after recording its current value and making an appropriate backup. Avoid broad resets, permission changes, or disabling security controls as a first step.
- Repeat the original test and a nearby unaffected workflow. If the issue remains, preserve the error details and escalate to the responsible host or software vendor.
How to verify the fix
- Repeat the original failing action and a nearby unaffected action to confirm the change fixed the issue without creating a regression.
- Test at least one nearby workflow that should remain unaffected.
- Check for a new error in the browser console, application log, or provider dashboard.
- If a cache or DNS TTL is involved, allow the relevant cache/TTL interval and verify from more than one path before concluding that the change failed.
Common mistakes to avoid
- Changing several settings at once, which prevents you from identifying the cause.
- Deleting content, resetting the database, or disabling security controls before evidence justifies that action.
- Using broad permission changes such as making every file writable, or exposing debugging output and secrets to public visitors.
- Assuming the homepage working proves that forms, admin pages, APIs, redirects, and other URLs also work.
- Repeatedly clearing every cache or changing DNS while the underlying origin/configuration is still wrong.
If the problem continues
Escalate with the exact affected URL, timestamp and time zone, response/error code, steps to reproduce, recent changes, and a sanitized log excerpt or request ID. Tell the host or software provider what you tested and what changed. Ask them to check the layer you cannot access rather than requesting a broad reset.
For provider-specific values, version-sensitive behavior, or commands, confirm the instructions in the official documentation for your exact hosting plan and software version before applying them. This guide intentionally avoids destructive one-size-fits-all commands because the correct action depends on the evidence and environment.