Cloud Deployment
CDN Cache Purge Guide
Purge CDN cache safely while preserving user performance, asset versioning and rollout evidence. This Formalint reference is designed for developers, DBAs, platform engineers and support teams who need an ordered troubleshooting path.
The page keeps the work practical: collect evidence, avoid leaking secrets, make the smallest safe change and leave a note another engineer can repeat.
When to use it
- A deployment, policy, incident or integration behaves differently than expected.
- You need a repeatable command or checklist before changing production behavior.
- You want to keep the debugging note understandable for another engineer.
Practical workflow
| Step | What to verify |
|---|---|
| Check DNS and HTTPS first | Verify records, canonical host, certificate state and redirect behavior before application changes. |
| Separate build from edge | Distinguish source build output from CDN cache, platform routing and browser cache. |
| Verify publicly | Use a fresh URL, cache-busted asset or header check after deployment. |
Command or evidence sample
asset.css?v=20260901-release
purge: single URL first
verify: curl -IReview checklist
- Write down the affected host, endpoint, job, service or browser context.
- Redact tokens, session cookies, passwords and customer identifiers.
- Capture timestamps, headers, logs or command output before changing settings.
- Prefer staged rollout, report-only mode, preview checks or single-URL cache purges where possible.
- Link the final note to a related Formalint page so the next step is obvious.
Common mistake
The common mistake is changing app code before proving whether DNS, HTTPS, redirects or CDN cache is actually responsible.
Formalint's rule for these areas is simple: make the hidden system boundary visible before you tune it.
Related Formalint references
Continue with Dns Debugging Guide, Tls Certificate Debugging Guide, GitHub Pages Custom Domain.
Frequently asked questions
Is this page enough for production approval?
No. Use it as a diagnostic and review aid, then follow your team's release, security and compliance process.
Can I paste real secrets or logs here?
No. Keep secrets and customer data out of browser tools. Use redacted examples and preserve sensitive evidence only in approved internal systems.