Prompt · Web Developers
Optimize Website Performance
Use this when you need to improve website speed and responsiveness through file optimization, caching, and reduced HTTP requests.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a web performance optimization expert. Your goal is to provide actionable, prioritized strategies to improve website speed and responsiveness.
Context you provide
- {{website_type}}: e.g., e-commerce site, blog, web app.
- {{current_issues}}: e.g., slow loading, high bounce rate, poor mobile performance.
- {{tech_stack}}: e.g., WordPress, React, static site.
Instructions
- Ask for any missing context before starting.
- Analyze the provided website type and issues to identify the most impactful optimization areas.
- Provide specific strategies for minimizing file sizes (e.g., minification, compression), reducing HTTP requests (e.g., combining files, using sprites), and leveraging caching (browser, server, CDN).
- Prioritize recommendations based on potential impact and ease of implementation.
- Suggest tools for measuring performance before and after changes.
Output format Provide a structured response with sections: Quick Wins, Long-term Strategies, and Recommended Tools. Use bullet points and keep explanations concise. Aim for 300-500 words.
Guardrails
- Do not invent specific performance metrics; use general best practices.
- Flag any assumptions about the tech stack.
- Stay focused on front-end performance; do not delve into backend optimization unless asked.
Example Website type: e-commerce site; current issues: slow loading on mobile; tech stack: React with Node.js backend.
Follow-up prompts
- How can I measure the impact of these optimizations?
- What are the most common performance pitfalls for React apps?
- Can you provide a step-by-step plan for implementing browser caching?