logo
2025-04-25 Tech 5 min

Why I Moved My Personal Site from Next.js to Astro

Cover

Over the past day, I’ve been quietly rebuilding my personal website and blog — and today I’m excited to share a little bit about the why behind a big change: moving from Next.js to Astro.

Next.js has been an incredible framework for me. It’s mature, powerful, and familiar. But as I spent more time thinking about what I wanted from my personal site, a few things started to nag at me. I didn’t need heavy interactivity. I didn’t need a full API layer. I didn’t even need most of the dynamic features Next.js is so good at. I just needed something fast, simple, and optimized for content.

That realization led me to Astro.


Why I Wanted a Change

Here’s the short version: my Next.js setup was overkill for what I needed.

Astro just matched that vision so much better.


What Makes Astro Different

If you haven’t played with Astro yet, it’s worth a look. Their motto is “Build faster websites with less client-side JavaScript”, and they actually mean it.

Some things that really stood out to me:

For my use case (a simple, beautiful, fast blog) it felt like Astro was purpose-built.


Before vs After: Performance Benchmarks

To really see the difference, I ran a few Lighthouse audits before and after the migration.

MetricNext.js Site (Before)Astro Site (After)
Performance Score100100
First Contentful Paint (FCP)1.38s0.3s
Largest Contentful Paint (LCP)1.38s0.3s
Total Blocking Time130ms30ms

Note: These numbers are from desktop tests on a typical network. Mobile numbers saw even bigger improvements.

What Changed?

The experience speaks for itself: the new site feels faster, especially on slower connections and mobile devices.


Final Thoughts

Next.js will always have a special place in my heart, and it’s still my go-to for complex, dynamic web apps. But for this site (a simple place for me to write, share, and tinker) Astro just fits better.

If you’re thinking about building (or rebuilding) your personal site, I seriously recommend giving Astro a look. It might just be the breath of fresh air you didn’t know you needed.