Cloudflare CDN Integration
- Sign up or log in at Cloudflare Dashboard.
- Add your site
quantatech.com
, then update your registrar’s NS records to Cloudflare’s nameservers. - Under **Caching → Configuration**, set “Browser Cache TTL” to at least 1 hour.
- Create a **Page Rule** to cache everything at the edge:
URL: *quantatech.com/assets/* Cache Level: Cache Everything Edge Cache TTL: a month
- Enable **Always Online**, **Auto Minify (JS/CSS/HTML)**, and **DDoS Protection** under the **Speed** and **Firewall** tabs.
Nginx Cache Headers
To help your CDN, add this to your Nginx vhost so assets are served with optimal headers:
location ~* \.(?:css|js|png|jpg|jpeg|gif|svg|woff2?)$ {
expires 30d;
add_header Cache-Control "public, no-transform";
}