Back to skills
SKILL.md
Cdn Setup
ASecurityCDN decision guide: provider selection, cache strategies, invalidation, edge security, performance. Use for: cdn, cloudflare, cloudfront, cache-control, edge, image optimization, purge.
- 3 stars
- 0 votes
- 0 copies
- 2 views
- Added November 14, 2026
Works with
Security analysis
100/100Pro scans all 4 files and shows the line behind each finding
npx -y skills add SebastianLuser/claude-code-arcane --skill cdn-setup --agent claude-codeAre you the author of Cdn Setup?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sebastianluser-cdn-setup)---
name: cdn-setup
description: "CDN decision guide: provider selection, cache strategies, invalidation, edge security, performance. Use for: cdn, cloudflare, cloudfront, cache-control, edge, image optimization, purge."
category: "infrastructure"
argument-hint: "[provider: cloudflare|aws|gcp]"
user-invocable: true
allowed-tools: Read, Glob, Grep, Bash, Write, Edit, Task
---
# cdn-setup — Decision Guide
Goal: **cache hit >90% on assets, TTFB <100ms** in target regions.
## Provider Decision
| Provider | Best For | Key Strength |
|---|---|---|
| **Cloudflare** | Default | LatAm PoPs, free tier, Workers, R2, WAF included |
| **CloudFront** | AWS stacks | S3 + Lambda@Edge integration |
| **GCP Cloud CDN** | GCP stacks | GCS + LB integration, IAM |
| **Fastly** | Strict SLA media | VCL control, instant purge |
## Monitoring
| Metric | Target |
|---|---|
| Cache hit (assets) | >90% |
| Cache hit (API) | >70% |
| p95 TTFB | <100ms |
| Edge 5xx | <0.1% |
> → Read references/cache-strategy-and-invalidation.md for TTL table, invalidation approaches, and cache key hygiene
> → Read references/security-and-anti-patterns.md for edge security, performance checklist, and anti-patterns
> → Read references/provider-setup-and-troubleshooting.md for CloudFront (OAC, cache and origin request policies, Functions, invalidation) and Cloudflare (proxied DNS, Full strict, Cache Rules, purge, origin lock) step by step, origin cache headers per stack, and how to debug a cache miss from the response headers
Files in this skill
- SKILL.md
- references/cache-strategy-and-invalidation.md
- references/provider-setup-and-troubleshooting.md
- references/security-and-anti-patterns.md
Attribution
Related skills
View all in devops →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.