Showcasing My Astro‑Powered Personal Portfolio: Design Choices, Performance, and Deployment Insights
I recently built a personal portfolio site using Astro with Tailwind CSS for styling and Markdown for content. The goal was to create a lightweight, SEO‑friendly site that showcases my projects, blog posts, and skill set while remaining easy to maintain and deploy. I used Astro’s partial hydration to keep JavaScript bundle sizes minimal and integrated a few community plugins such as @astrojs/rss for generating an RSS feed and @astrojs/netlify for deployment. The site is hosted on Netlify with continuous deployment from GitHub.
Key decisions and challenges:
- Component architecture: I split the layout into reusable
Header,Footer, andProjectCardcomponents. Each card pulls data from a JSON file to keep content separate from UI. - Performance: I used Astro’s built‑in image component for responsive images and lazy loading. Lighthouse scores show a LCP of 1.4s and total blocking time under 200ms.
- SEO and accessibility: All pages have meta tags, Open Graph data, and proper heading hierarchy. I also added a
manifest.jsonfor PWA support. - Deployment workflow: Netlify’s build hooks trigger on pushes to the main branch. I use environment variables for API keys and enable Netlify’s image CDN.
Despite these choices, I’d appreciate feedback on a few areas. First, is there a more efficient way to handle dynamic content updates without rebuilding the entire site? Second, which Astro plugins or build-time optimizations would you recommend for improving LCP and reducing overall bundle size? Finally, if you’ve implemented a PWA version of an Astro site, what challenges did you encounter and how did you address them?