Speed
Fix heavy images
A hero photo straight from a phone weighs more than the rest of the site.
- What you get
- Every oversized image found, resized and served in a modern format at the size it’s shown.
- Paste it into
- Your AI tool, in your project
The prompt
Find and fix the images that slow this site down. List every image the site serves with its file size, its real dimensions and the largest size it's ever displayed at. Flag the ones that are much larger than needed, in an old format, missing a width and height (which makes the page jump), or loaded up front when they're far down the page. Fix them the way this stack supports: the framework's image component or the host's image service if there is one, otherwise resized files in a modern format. Keep the main image at the top loading early and lazy-load the rest. Check the visual quality yourself and show me the total size before and after.
Use it
Open your AI tool (Claude Code, Codex or Cursor) in your project folder and paste it in.
More in Speed
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.
Make a slow page fast, with numbers
You ask for a faster site and get a cache bolted on and no proof.