Skip to content
Back to skills

Cdn Setup

ASecurity

CDN 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
devopsgobashawsgcpapisecurityperformance

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned November 14, 2026

npx -y skills add SebastianLuser/claude-code-arcane --skill cdn-setup --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cdn Setup?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cdn Setup
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sebastianluser-cdn-setup/badge)](https://www.skillsdirectory.com/skills/sebastianluser-cdn-setup)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md1.5 KB
  • references/cache-strategy-and-invalidation.md1.3 KB
  • references/provider-setup-and-troubleshooting.md3.4 KB
  • references/security-and-anti-patterns.md1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in devops →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.