Speed
Shrink the JavaScript you send
The site downloads megabytes of code before anything is usable.
- What you get
- What’s in the bundle, the few packages responsible, and lighter ways to do the same job.
- Paste it into
- Your AI tool, in your project
The prompt
My site ships too much JavaScript. Find out what's in it. Build for production and analyze the bundle. Show me the largest pieces per page and which packages they come from. Look for: a big library used for one small function, the same library included twice in different versions, code for admin or rarely used screens loaded on the home page, and components that run in the browser when they could render on the server. For the worst offenders, propose the lightest fix: a built-in browser feature, a smaller import, loading on demand, or removing the dependency. Apply them one at a time and show the size per page 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
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.
Fix heavy images
A hero photo straight from a phone weighs more than the rest of the site.