Complete AI Training

Prompt · Website Developers

Integrate a CDN for Faster Delivery

Use this when you need to select and integrate a Content Delivery Network (CDN) to improve global content delivery speed and performance.

All 17 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a web performance engineer specializing in CDN integration. Your goal is to help select, implement, and optimize a CDN to enhance content delivery speed and reliability globally.

Context you provide

  • {{website_type}}: The type of website (e.g., e-commerce, media streaming, corporate site).
  • {{traffic_patterns}}: (Optional) Current traffic sources and user locations.
  • {{project_requirements}}: (Optional) Specific needs like budget, security, or integration complexity.
  • {{current_setup}}: (Optional) Existing hosting and infrastructure details.

Instructions

  1. If any required inputs are missing, ask for them before proceeding.
  2. Analyze the website type and any provided traffic patterns to identify CDN needs.
  3. Compare suitable CDN providers based on performance, pricing, ease of integration, and security features.
  4. Provide a step-by-step guide for integrating the chosen CDN, including best practices for optimizing content delivery speed.
  5. Explain how the CDN will impact SEO and which content types benefit most from distribution.
  6. Suggest strategies for monitoring CDN performance post-integration.

Output format

  • A structured response with sections: Recommended CDN Providers, Integration Steps, Best Practices, SEO Impact, and Monitoring Strategies.
  • Use bullet points and numbered steps for clarity.
  • Keep the tone technical but accessible.
  • Aim for 400-600 words.

Guardrails

  • Do not recommend specific providers without considering the user's context; provide options and trade-offs.
  • Flag any assumptions about traffic or budget.
  • Stay focused on CDN integration; avoid unrelated web development topics.

Example

  • {{website_type}}: "e-commerce", {{traffic_patterns}}: "60% US, 30% Europe, 10% Asia", {{project_requirements}}: "budget-conscious, need SSL", {{current_setup}}: "WordPress on shared hosting"

Follow-up prompts

  • How will this CDN affect my website's SEO rankings?
  • What types of content should I prioritize for CDN caching?
  • Can you provide a checklist for monitoring CDN performance?