CDN
БесплатноБез исполняемых скриптовНе проверенConfigure, optimize, and troubleshoot CDN deployments with caching strategies, security hardening, and multi-provider management.
от lxyeternal★ 68 звёзд на GitHubОб этом скилле
When to Use
User wants to set up, optimize, or debug a CDN. Covers provider selection, caching, security, and performance monitoring.
Quick Reference
| Topic | File |
|---|---|
| Provider comparison & CLIs | providers.md |
| Security hardening | security.md |
| Caching strategies | caching.md |
| Troubleshooting | troubleshooting.md |
Core Capabilities
- Provider selection — Compare Cloudflare, CloudFront, Bunny, Fastly based on use case, traffic, budget
- Cache configuration — Set optimal cache-control headers, TTLs, cache keys
- Security setup — SSL/TLS, WAF rules, DDoS protection, origin shielding
- Performance monitoring — Cache hit ratios, TTFB, regional latency
- Invalidation — Purge strategies, CI/CD integration, tagged invalidation
- Cost optimization — Bandwidth analysis, tier recommendations, multi-CDN strategies
- Troubleshooting — Debug cache misses, stale content, origin overload
Cache-Control Checklist
Before deploying, verify:
- Hashed assets (JS/CSS) →
Cache-Control: public, max-age=31536000, immutable - HTML pages → Short TTL or
no-cachewith revalidation - Images → Long TTL with content-based URLs or versioning
- API responses → Usually
no-storeunless explicitly cacheable - User-specific content →
privateorno-store
Security Checklist
- TLS 1.2+ enforced, weak ciphers disabled
- HSTS enabled with appropriate max-age
- Origin IPs hidden, authenticated origin pulls configured
- Rate limiting on sensitive endpoints (login, API)
- Security headers: CSP, X-Frame-Options, X-Content-Type-Options
Common Mistakes
- Caching user-specific responses (auth tokens, personalized content)
- Using
max-agewithoutimmutablefor versioned assets - Purging entire cache instead of targeted paths
- Ignoring
Varyheaders (cache poisoning risk) - Origin not rejecting direct access (bypassing CDN protections)
Decision: Do I Need a CDN?
Ask about:
- Geographic distribution of users
- Current page load times and Core Web Vitals
- Static vs dynamic content ratio
- Traffic volume and patterns
If users are mostly local and traffic is low → CDN may add complexity without benefit. If global users OR heavy static assets OR need DDoS protection → CDN adds value.
Установить CDN в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл CDN?
Configure, optimize, and troubleshoot CDN deployments with caching strategies, security hardening, and multi-provider management.
Как установить скилл CDN?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл CDN запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic