I’ve been building WordPress sites for 12+ years. This November I did something different with my own site: I kept WordPress, but stopped letting it serve the frontend.

wppatch.com now runs on Astro, hosted on Cloudflare Pages. WordPress is still the backend, and the result is a site that scores 100 on speed.

Why I moved

A typical WordPress site makes the server build every page on every request: PHP, database queries, theme, plugins. Caching helps, but you’re still stacking fixes on top of a heavy setup.

I wanted static, fast pages without giving up the WordPress editing experience I know.

The new setup

  • Content/backend: WordPress with ACF. All page content and custom fields live there.
  • SEO: Yoast. Titles, meta descriptions, schema and Open Graph data are pulled from WordPress into the Astro pages, so nothing is lost on the SEO side.
  • Frontend: Astro. It ships almost no JavaScript by default, which is the main reason the site is so fast.
  • Hosting: Cloudflare Pages. Static files served from the edge, close to every visitor.
  • Contact form: Submits through the Mailgun API. No form plugin, no PHP on the frontend.

How it works

  1. I edit content in WordPress, same as always.
  2. Astro fetches that content (ACF fields plus Yoast data) at build time.
  3. It generates plain static HTML pages.
  4. Cloudflare Pages deploys them globally.

Visitors never touch WordPress. They get pre-built pages from a CDN.

The contact form

No PHP means no plugin to handle form submissions. I send the form data to a small serverless endpoint, which calls the Mailgun API and delivers the email. It’s simple, reliable, and there’s nothing to patch or update.

The results

  • Speed score: 100
  • Near-instant page loads
  • A much smaller attack surface, since WordPress isn’t exposed to public traffic
  • Free, fast hosting on Cloudflare
  • Same familiar editing workflow

The trade-offs

  • Content changes need a rebuild/deploy (or a webhook to trigger one).
  • Plugins that rely on frontend PHP (forms, popups, search) need a replacement approach.
  • Initial setup takes more work than installing a theme.

Is it worth it?

For a business site, portfolio or marketing site: absolutely. If you want a site this fast, or want help moving yours, that’s exactly what I do at wpPatch.

Want a site this fast? Let’s Talk →