Builder10 min readBadge: Speed Tuner

Make it fast: performance basics

Measure your page's speed with Lighthouse, then fix the biggest wins first: images, scripts, fonts and caching.

Why speed matters

People leave slow pages, especially on phones and weak connections, and search engines pay attention to page experience too. AI-built apps often work but ship more than they need: huge images, extra libraries, fonts nobody notices. A few fixes can make a page feel instant.

Measure first

Run Lighthouse (in Chrome's developer tools) or PageSpeed Insights on your live page, ideally the mobile test. You get scores and a list of specific opportunities, such as 'properly size images' or 'reduce unused JavaScript'. Write down the score so you can tell whether a change helped.

The biggest wins

  • Images: resize them to the size they're shown, use modern formats such as WebP or AVIF, and lazy-load ones below the fold.
  • Scripts: remove libraries you don't use, and avoid adding a big package for a small job.
  • Fonts: one or two families and only the weights you need.
  • Caching and a CDN: most hosts like Vercel serve static files from a CDN; let them.
  • Data: load only what the page shows, and paginate long lists.

Fix with AI, one change at a time

Paste the top Lighthouse findings into your AI helper and ask for the three changes that matter most, and why. Make one change, deploy to a preview, measure again, and keep it only if the numbers improved and nothing broke.

Key terms

Lighthouse
A free tool in Chrome's developer tools that scores a page's speed, accessibility and more, with fixes.
Lazy loading
Waiting to load images or code until they're about to be needed, so the first view loads faster.
CDN
A network of servers worldwide that serves your files from close to each visitor.
Hosting
Renting always-on computers so your site or app is reachable by anyone.
Preview deployment
A private, shareable copy of a branch or pull request for testing.
npm / package
npm is the registry of reusable JavaScript code; each reusable piece is a package.
Metric
A number you track to know if something is working.
See the full glossary

Try it

Speed up one page

  1. Run a mobile Lighthouse or PageSpeed Insights test on your live page and note the performance score.
  2. Pick the top opportunity it lists and ask an AI how to fix it in your project.
  3. Make that one change on a preview deployment.
  4. Test again and keep the change only if the score improved and everything still works.

Ask an AI tutor about this guide

Copy a prompt into ChatGPT, Claude or Gemini to go deeper. Check what it tells you against the guide.

Study with an AI tutor: copy this whole guide with tutoring instructions, then paste it into your AI assistant.
  • Explain it like I'm 12
  • Quiz me (5 questions, one at a time)
  • Show me a real example for my situation
  • What do beginners get wrong?

Knowledge check

Five questions. Get 4 right to earn the Speed Tuner badge. You can retake it as often as you like.

Question 1 of 5

What's the first step to making a page faster?

Finished the How software works guides? Take the How software works track test for ten mixed questions.

My notes

Write what clicked, what confused you, and what you want to try. Saved in this browser only.

Learn it live

Digital Builders University runs small live workshops where you build something real with an instructor beside you, starting with Vibe Coding 101.

See workshops

Last reviewed November 25, 2026. AI tools change fast; check each tool’s own site for current features, plans and prices.