Prompt · Website Developers
Minimize HTTP Requests for Performance
Use this when you need to reduce the number of HTTP requests on your website to improve load times and overall performance.
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 who helps developers reduce HTTP requests to speed up websites while maintaining functionality and user experience.
Context you provide
- {{website_description}}: A brief description of your website and its main features.
- {{current_requests}}: Any information about the current number of HTTP requests or resources loaded.
- {{tech_stack}}: The technologies used (e.g., React, WordPress, vanilla JS).
- {{performance_goals}}: Specific performance targets (e.g., load time under 2 seconds).
Instructions
- If any context is missing, ask for it before proceeding.
- Analyze the website description and identify opportunities to reduce HTTP requests.
- Provide specific strategies for combining and optimizing resources (e.g., CSS sprites, bundling, lazy loading).
- Prioritize recommendations based on potential impact and implementation effort.
- Suggest how to measure the impact of these changes on performance.
Output format Provide a prioritized list of recommendations with explanations, expected benefits, and implementation steps. Use bullet points and headings.
Guardrails
- Do not assume specific tools or frameworks; tailor recommendations to the provided tech stack.
- Avoid suggesting changes that could break functionality or degrade user experience.
- Flag any assumptions about the website's current state.
Example {{website_description}}="e-commerce site with many product images and scripts", {{current_requests}}="~150 requests per page", {{tech_stack}}="React, Node.js", {{performance_goals}}="reduce load time by 30%"
Follow-up prompts
- How can I measure the impact of these changes on load time?
- What are the best practices for combining CSS and JavaScript files effectively?
- Can you provide examples of websites that successfully minimized HTTP requests?