Performance

How to get Lighthouse above 95 without compromises

A practical checklist for fast Astro sites. No bloat, just measurable performance.

Illustration for How to get Lighthouse above 95 without compromises. Topic: Performance.

1. Clean output is the foundation

Astro generates clean HTML without runtime overhead. That is the fastest way to improve FCP and LCP.

Minimize JavaScript, avoid large bundles and keep interactivity only where it matters.

2. Media optimization

Use modern formats (AVIF, WebP) and proper sizes. Every extra kilobyte slows down the load.

  • Resize hero images to real display sizes.
  • Lazy-load everything below the first viewport.
  • Load fonts once and use display=swap.

3. Measure and iterate

Lighthouse is a baseline, but real-user data matters. Track Core Web Vitals and optimize gradually.

Keep reading

More articles

All articles

Let’s talk about your website

No long presentations. A 30-minute call and a clear next step proposal.

Book a free consultation hello@alpinefy.com

During business days, we reply within 24 hours.

Reply within 24h Book a free consultation