LLM Prompts

CDN Optimization Strategy Generator

Generates a detailed strategy for optimizing website performance using a Content Delivery Network (CDN).

The method

Use this prompt in a conversational manner with ChatGPT. Start by providing the context of your website (e.g., e-commerce, blog, SaaS). Then, paste one of the prompts and refine the suggestions based on your specific needs. Adjust parameters for desired level of detail.

The prompts

Prompt 1
I need a comprehensive CDN implementation and optimization strategy for my e-commerce website. The website sells physical products globally. I'm using Akamai as my CDN provider. I need detailed steps on how to configure Akamai for optimal caching, including setting appropriate cache TTLs for different types of content (images, CSS, JavaScript, product pages, etc.). Furthermore, describe the process for setting up geo-filtering and directing users to the closest server for improved latency. Include specific recommendations for implementing image optimization techniques (e.g., WebP conversion, responsive images) in conjunction with the CDN. Outline steps for monitoring CDN performance and identifying areas for improvement. Finally, create a disaster recovery plan involving CDN failure and steps to mitigate it. Explain best practices for securing the CDN to protect against DDoS attacks and other security threats. The desired output should be in markdown format with clear headings and subheadings.
Prompt 2
Develop a CDN strategy for a news website with a high volume of dynamically generated content. The CDN provider is Cloudflare. My goal is to reduce server load and improve website loading times for users worldwide. How should I configure Cloudflare's caching rules to effectively cache dynamic content while ensuring that users see the latest updates? Give a detailed strategy for optimizing Cloudflare's Argo Smart Routing for improved performance. Also, I want you to incorporate Cloudflare Workers to manipulate HTTP requests and responses at the edge for advanced caching and content transformation. Include instructions for setting up Cloudflare's Web Application Firewall (WAF) to protect the news website from common web attacks. Provide details for configuring Cloudflare's Load Balancing for high availability. Also, explain how to implement Brotli compression to reduce the size of transmitted data. Describe the process for monitoring CDN performance and identify areas for improvement using Cloudflare's analytics dashboard. The desired output should be in markdown format.