Back to Blog
Insight
Feb 22, 2026
4 min read

Why I Chose Astro.js for My Portfolio

Why learning by doing is the best way to become a software engineer.

Building a developer portfolio is about making a great first impression. The website needs to be fast, accessible, and easy to maintain. After exploring several modern frameworks, I decided to build my portfolio using Astro.js.

Here is why it is the perfect tool for the job:

1. Blazing Fast Performance (Zero-JS by Default)

A portfolio is mostly static content, like text, links, and images. Astro is designed to ship zero JavaScript to the browser by default. It only sends lightweight, pure HTML.

  • The website loads almost instantly.
  • It gives visitors and recruiters a very smooth and fast browsing experience.

2. The Magic of “Astro Islands”

Even though the website is mostly static, I still need some interactive features, like a dark mode toggle or a contact form.

With the “Astro Islands” architecture, I can easily plug in interactive UI components (like React) only exactly where I need them. The rest of the page stays fast and lightweight.

3. Simple Content Management (Markdown & MDX)

As a developer, I want to write case studies for my projects easily without setting up a complex database.

  • Astro has great built-in support for Markdown and MDX.
  • This allows me to write and organize my project details neatly in local files.
  • Content updates become incredibly simple.

4. Built for SEO and Visibility

A great portfolio is useless if nobody can find it. Because Astro pre-renders the HTML on the server, search engines can easily crawl and read the content.

This helps my portfolio:

  • Rank higher on Google.
  • Easily achieve a perfect score on performance audits like Google Lighthouse.

Conclusion

Astro gives me the best of both worlds: a modern developer experience and a lightning-fast website for the users. It allows me to focus on what truly matters—showcasing my work and telling my story—rather than fighting with the framework.

Written by Muhamad Fazrin Nugraha