SCDN configuration
Set cache rules, origin routing, HTTPS and access control.
Complete this guide in a test environment first, then roll it out to production in stages.
01
Create cache rules
Use a longer cache lifetime for static assets. Use a shorter lifetime or bypass cache for HTML and dynamic APIs.
- /assets/*: cache for 30 days
- /api/*: bypass cache
- HTML: set cache by release frequency
02
Configure origins
Add a primary and backup origin, then point health checks to a stable path that returns 200.
CONFIG
Origin: origin.example.com
Health check: /healthz
Failover: backup-origin.example.com03
Enable HTTPS
Upload an existing certificate or enable a managed certificate. Redirect HTTP to HTTPS and keep only modern TLS protocols.
Next stepNeed help? Contact support →