Speed
Make a slow page fast, with numbers
You ask for a faster site and get a cache bolted on and no proof.
- What you get
- Before and after measurements, and the few changes that account for most of the time.
- Paste it into
- Your AI tool, in your project
The prompt
[Page] loads slowly. Speed it up, and prove it. Measure first: run a production build and a Lighthouse test in mobile mode, and record the scores and load timings. Then find what the time is spent on: large images, too much JavaScript, fonts, slow server responses, requests made one after another that could run together, or third-party scripts. List the five biggest causes with the measurement behind each and the expected gain. Fix them one at a time, measure again after each, and keep only the changes that help. Finish with a before and after table. Don't add a caching layer unless the numbers call for it.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in. Replace the parts in [brackets] with your own details first.
More in Speed
Fix heavy images
A hero photo straight from a phone weighs more than the rest of the site.
Shrink the JavaScript you send
The site downloads megabytes of code before anything is usable.
Find why an action feels slow
You click a button and wait two seconds with nothing happening.
Cache pages without serving old content
Either every visit rebuilds the page, or visitors see yesterday’s version.