CDN Configuration Guide
Complete setup guide for Cloudflare CDN integration
Domain Settings
Enter your domain to generate custom DNS records
DNS Configuration
ARecord -@Proxy
104.21.0.0Root domain
CNAMERecord -wwwProxy
your-domain.comWWW subdomain
Page Rules
Pattern
your-domain.com/*cache level:Cache Everything
browser cache TTL:4 hours
respect_strong_etags:On
Optimization Settings
Auto Minify
Automatically minify CSS, JavaScript, and HTML files
- CSS: Enabled
- JavaScript: Enabled
- HTML: Enabled
Brotli Compression
Enable Brotli compression for improved performance
- Compression Level: Standard
- File Types: All
HTTP/2
Enable HTTP/2 for faster content delivery
- HTTP/2: Enabled
- HTTP/3 (QUIC): Enabled
Security Headers
Add security headers for enhanced protection
- Strict-Transport-Security: max-age=31536000
- X-Content-Type-Options: nosniff
- X-Frame-Options: SAMEORIGIN
Quick Start Checklist
- 1Create a Cloudflare account at cloudflare.com
- 2Add your domain and update nameservers
- 3Configure DNS records as shown above
- 4Configure Page Rules for caching
- 5Enable optimization settings
- 6Wait 24–48 hours for DNS propagation
