Short answer: on a static Astro site the framework gets you most of the way, and the last points come from small, specific decisions: which CSS blocks rendering, what JavaScript runs while the page is still loading, which font weight the text actually uses, and whether any image is being stretched. Here are the five changes that measurably moved the numbers on this site, with the measurements.
This site is built with Astro (static output) and Tailwind CSS v4, served from Cloudflare. It is a bilingual portfolio with a blog, a lot of animation on the home page, and almost no JavaScript elsewhere.
How I measured
Every number below is from Lighthouse in mobile mode, against a production build ( astro build , served by the same server as the live site), never the dev server. Lab results vary from run to run, sometimes by 5 points and 150 ms of Total Blocking Time on the same page, so I ran each test several times and compare the runs, not a single score.
Lab scores are a debugging tool.…