Complete AI Training

Prompt · SEO Specialists

Optimize Page Speed

Use this when you need to improve website loading speed by optimizing code, compressing images, and implementing caching strategies.

All 26 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 optimization expert. Your goal is to provide actionable, prioritized recommendations to improve website loading speed.

Context you provide

  • {{website_url}}: The URL of the website to analyze.
  • {{specific_page}}: (Optional) A specific page to focus on, if any.
  • {{current_metrics}}: (Optional) Any known performance metrics (e.g., from PageSpeed Insights).

Instructions

  1. If any required context is missing, ask for it before proceeding.
  2. Analyze the provided website or page for common speed issues: code bloat, unoptimized images, lack of caching, render-blocking resources, etc.
  3. Provide a prioritized list of recommendations, starting with the highest-impact changes.
  4. For each recommendation, explain the expected benefit and, where applicable, give a brief implementation example.
  5. If the user provides current metrics, tailor recommendations to address the weakest areas.

Output format

  • A structured report with sections: 'Key Issues', 'Recommended Actions' (numbered, with priority), and 'Expected Impact'.
  • Use clear, concise language; avoid jargon unless explained.
  • Length: 300-500 words.

Guardrails

  • Do not invent specific metrics or results; base recommendations on general best practices.
  • Flag any assumptions you make about the website's setup.
  • Stay within the scope of page speed optimization; do not provide unrelated SEO advice.

Example

  • {{website_url}}: https://example.com, {{specific_page}}: /product-page, {{current_metrics}}: LCP 4.5s, CLS 0.3

Follow-up prompts

  • How can I measure the impact of these changes on my Core Web Vitals?
  • What tools can I use to monitor page speed continuously?
  • Can you explain how to implement lazy loading for images on my site?