setup-cdn-optimization
Configure CDN for optimal content delivery, caching, and global performance optimization
Imported description, not reviewed yet
This item came from its original repository and was only scanned automatically; no editor has written an Arabic description for it yet. Read its content yourself before you rely on it. This page is not indexed by search engines until it is reviewed.
Download
Install
After downloading, run the command in a terminal. unzip asks before it replaces any file that is there.
For this project
It goes in: .claude/commands/
mkdir -p .claude/commands && unzip ~/Downloads/setup-cdn-optimization.zip -d .claude/commandsFor your account on the whole machine
It goes in: ~/.claude/commands/
mkdir -p ~/.claude/commands && unzip ~/Downloads/setup-cdn-optimization.zip -d ~/.claude/commands
Instructions
Setup CDN Optimization
Configure CDN for optimal delivery: $ARGUMENTS
Instructions
-
CDN Strategy and Provider Selection
- Analyze application traffic patterns and global user distribution
- Evaluate CDN providers based on performance, cost, and features
- Assess content types and specific caching requirements
- Plan CDN architecture and edge location strategy
- Define performance and cost optimization goals
-
CDN Configuration and Setup
- Configure CDN with optimal settings for your content types
- Set up origin servers and failover configurations
- Configure SSL/TLS certificates and security settings
- Implement custom domain and DNS configuration
- Set up monitoring and analytics tracking
-
Static Asset Optimization
- Optimize asset build process for CDN delivery
- Configure content hashing and versioning strategies
- Set up asset bundling and code splitting for CDN
- Implement responsive image delivery and optimization
- Configure font loading and optimization strategies
-
Compression and Optimization
- Configure Gzip and Brotli compression settings
- Set up build-time compression for static assets
- Implement dynamic compression for API responses
- Configure minification and asset optimization
- Set up progressive image formats (WebP, AVIF)
-
Cache Headers and Policies
- Design intelligent caching strategies for different content types
- Configure cache control headers and TTL values
- Implement ETags and conditional request handling
- Set up cache hierarchy and multi-tier caching
- Configure cache warming and preloading strategies
-
Image Optimization and Delivery
- Implement responsive image delivery with multiple formats
- Set up automatic image compression and optimization
- Configure lazy loading and progressive image loading
- Implement image resizing and format conversion
- Set up WebP and AVIF format support with fallbacks
-
CDN Purging and Cache Invalidation
- Implement intelligent cache invalidation strategies
- Set up automated purging for deployment pipelines
- Configure selective purging by tags or patterns
- Implement real-time cache invalidation for dynamic content
- Set up cache invalidation monitoring and alerts
-
Performance Monitoring and Analytics
- Set up CDN performance monitoring and metrics tracking
- Monitor cache hit ratios and bandwidth usage
- Track response times and error rates across regions
- Implement real user monitoring for CDN performance
- Set up alerts for performance degradation
-
Security and Access Control
- Configure CDN security headers and policies
- Implement hotlink protection and referrer validation
- Set up DDoS protection and rate limiting
- Configure geo-blocking and access restrictions
- Implement secure token authentication for protected content
-
Cost Optimization and Monitoring
- Monitor CDN usage and costs across different tiers
- Implement cost optimization strategies for bandwidth usage
- Set up automated cost alerts and budget monitoring
- Analyze usage patterns for tier optimization
- Configure cost-effective caching policies
Focus on CDN optimizations that provide the most significant performance improvements for your specific content types and user base. Always measure CDN performance impact and adjust configurations based on real-world usage patterns.
Files
- LICENSE1 KB
- setup-cdn-optimization.md3.6 KB
What the automatic scan found
We scanned the files automatically when they were imported. This is what the scan pointed at. It does not mean the item is harmful, and it does not mean it is safe: read it yourself.
- Needs a lookAllowed tools with no limits
In file cli-tool/components/commands/performance/setup-cdn-optimization.md
Comments (0)
No comments yet. Be the first.
Sign in to comment. Commenting comes at level 1 (Member).