The method
Paste these prompts into ChatGPT after defining the CDN provider (e.g., Cloudflare, Akamai) and the intended use-case (website, application). Review results critically, adjusting your configuration for optimal performance and security. Can be applied to Gemini/Claude.
The prompts
Prompt 1
Analyze the following CDN configuration for a high-traffic e-commerce website, focusing on security vulnerabilities and performance bottlenecks. The CDN provider is Cloudflare. The configuration is as follows:
[Paste Cloudflare Configuration Details Here, including page rules, WAF settings, caching policies, and any custom settings].
Specifically, identify:
1. Potential DDoS attack vectors and recommendations to mitigate them using Cloudflare's features.
2. Inefficient caching policies that might be causing unnecessary origin server load.
3. Opportunities to improve website loading speed through optimized image delivery and content compression.
4. Any misconfigurations that could lead to data breaches or unauthorized access.
Provide a detailed report with actionable steps to improve both the security and performance of the CDN configuration. Include specific Cloudflare features and settings to adjust.
[Paste Cloudflare Configuration Details Here, including page rules, WAF settings, caching policies, and any custom settings].
Specifically, identify:
1. Potential DDoS attack vectors and recommendations to mitigate them using Cloudflare's features.
2. Inefficient caching policies that might be causing unnecessary origin server load.
3. Opportunities to improve website loading speed through optimized image delivery and content compression.
4. Any misconfigurations that could lead to data breaches or unauthorized access.
Provide a detailed report with actionable steps to improve both the security and performance of the CDN configuration. Include specific Cloudflare features and settings to adjust.
Prompt 2
I am setting up a CDN (Akamai) for a media streaming platform. Our primary concern is minimizing latency and ensuring smooth playback for users worldwide. Here is our initial configuration:
[Paste Akamai CDN Configuration Details Here, including edge server locations, streaming protocols, caching behavior, and any custom scripts].
Assess this configuration and provide recommendations for:
1. Optimizing edge server selection to minimize latency for users in different geographic regions.
2. Fine-tuning caching policies to ensure frequently accessed content is readily available at the edge.
3. Selecting the most appropriate streaming protocols (e.g., HLS, DASH) based on device compatibility and network conditions.
4. Implementing error handling and failover mechanisms to maintain service availability in case of origin server issues.
Provide a detailed plan, outlining the steps needed to optimize the CDN for low-latency media streaming, including specific Akamai configuration settings to adjust.
[Paste Akamai CDN Configuration Details Here, including edge server locations, streaming protocols, caching behavior, and any custom scripts].
Assess this configuration and provide recommendations for:
1. Optimizing edge server selection to minimize latency for users in different geographic regions.
2. Fine-tuning caching policies to ensure frequently accessed content is readily available at the edge.
3. Selecting the most appropriate streaming protocols (e.g., HLS, DASH) based on device compatibility and network conditions.
4. Implementing error handling and failover mechanisms to maintain service availability in case of origin server issues.
Provide a detailed plan, outlining the steps needed to optimize the CDN for low-latency media streaming, including specific Akamai configuration settings to adjust.