upvote
I've been migrating a few Wordpress sites from Wordpress to Astro + Strapi recently, working in 'hybrid mode' so the entire site is static except for post previews in Strapi (only that one route is SSR).

Editing content in Strapi, once customized with CKEditor and such, is Wordpressy enough for the human Editors familiar with WP.

So far I'm loving the stack.

reply
EmDash with some aggressive caching and SWR is effectively this, and we're getting closer to that every day. When the cost of maintaining the data part of the CMS is effectively free, you're basically working with a static site anyway.
reply
I haven’t used Wordpress for a few years. But with WP Super Cache (1) we also always did pretty much that: On saving a post/page the static HTML would be written to a cache directory and be the default content served to visitors.

[1] https://wordpress.org/plugins/wp-super-cache/

reply
The issue with static sites is they can't do comments.
reply
Astro would call that an island: https://docs.astro.build/en/concepts/islands/

I guess this is our answer to the question of why Cloudflare acquired it in the first place.

reply
I bet 99.9% of live Wordpress sites no longer have comments enabled.
reply
So many WordPress sites don't have comments.
reply
They can - it’s just more complex.

You just put the comments into something like firebase/supabase etc or use one of many off the shelf solutions. Free tier is fine.

reply
Is it still a static site then?

You could just do it with CGI scripts, without the external dependencies, but that isn't really static either.

reply
Depends what you would call that architecture then I guess!

I run my local theatre website by writing the posts in markdown, and then have some github actions which use Hugo to turn it in to a static site and then uploads the content to an S3 bucket. The site itself has dynamic content like within-website ticket buying from eventbrite and a contact form that sends email using an external service. It also calls in things like google analytics.

Does this still count as static? Personally I think so, Even though there are 'dynamic' elements.

IMO static refers more about how the content is served rather than saying that the content can’t be ‘dynamic’ as lots of Wordpress sites have static/non interactive content but still regenerate the html on each page load.

reply
I run static sites for my clients, with embedded forms.

Performance says they’re definitely still static sites!

reply
"Just" sure is doing a lot of heavy lifting in this sentence.
reply