Dev.to
6/19/2026

How I get marketing sites to 100/100 on mobile Lighthouse (the exact Astro setup)
Short summary
Achieve perfect mobile Lighthouse scores on marketing sites by shipping minimal JavaScript—use static HTML with inline CSS, defer third-party analytics until user interaction, and optimize fonts and images. The approach trades bounce-rate analytics for measurably faster load times; requires framework discipline (Astro without islands or Next.js with strict static generation). Real-world sites like zivaro.co.za demonstrate 100/100 mobile performance is achievable without exotic tools.
- •Eliminate unnecessary JavaScript and framework hydration to reduce main-thread blocking and Total Blocking Time
- •Inline critical CSS, defer analytics with event listeners, preload fonts with font-display: optional
- •Applicable to Astro (no-island architecture) or Next.js (static generation + server components discipline)
Generated with AI, which can make mistakes.
Is this a good recommendation for you?



