Case study · WordPress

Headless WordPress + Astro: same portfolio, two stacks

  • Astro
  • Headless WordPress
  • REST API
  • Cloudflare Pages
Case study card: headless WordPress and Astro pipeline with a mobile PageSpeed score of 100

I rebuilt my portfolio as a static Astro site that reads its content from WordPress through the REST API. WordPress stays the CMS; Astro turns the content into plain HTML at build time, Cloudflare Pages serves it, and publishing in WordPress triggers a rebuild through a deploy hook.

100 mobile PageSpeed · 0.8 s LCP · 0 KB JavaScript

Platform
WordPress
Built with
Astro, Headless WordPress, REST API, Cloudflare Pages
Status
Case study
Live site
lab.hjmiranda.com
Content updated
Nov 13, 2026 in WordPress
Next project

Have a site to build or fix?

WordPress, headless or both. I reply within one business day.