Title is click-bait. This is about hosting a "static" website on Cloudflare page (similar to Github pages) and not hosting WordPress which requires PHP, storage and a database.
PS: You could actually do better: Use Github pages and Cloudflare pages and do DNS load balancing between the two.
I think this comment is correct. This post amounts to "use the Simply Static plugin and upload the HTML files somewhere," which is nothing new and can be done without having to setup a dummy repository to appease CloudFlare.
From the title I thought they managed to run WordPress in CF Workers or something, but no, you still need a machine to run the PHP and database, whether local or remote.
The major thing holding static "wordpress" or any rather simple site back is definitely forms.
I'm wondering what the best solution to this would be? My guess is forms hosted elsewhere loaded in via JS? Anyone have recommendations on what service to use for this?
Yeah POST requests with any sort of advanced functionality will always require some kind of server.
I built a thing that makes static sites, including form handling. BUT, the form handling, inevitably, requires a POST request back to a form-forwarding server that then sends you the enquiry via email (https://pinkpigeon.co.uk). Netlify include form handling for static sites, but it's so pricey that that was one of the main motivators for me to build my own solution.
I am not sure what the best implementation for this would be. Some people may go down the AWS Lambda route or something similar, but that's still just a (albeit highly distributed) server forwarding the request for you.
This is such a common request that several companies doing exactly this were born and closed shop over the years.
I wrote a little script and placed it on Lambda and it still works years later. There are plenty of pre-packaged examples and templates to do the same.
A simple "static forms" search will show you several hosted and self-hosted options.
WordPress is the biggest pile of spaghetti that's literally everywhere. In some modest setup, it makes 500+ calls to MySQL and thus it can never be ever fast or scale well. Another challenge is that it will always exceed whatever amount of memory you allocate for it. Storing PHP arrays in database columns is just sickening!
While I do like the accessibility of ‘free’ (as in beer) for people that otherwise couldn’t afford to have a ‘voice’ with their blog, I believe it’s unwise to suggest/endorse more people use a centralizing platform like Cloudflare which is breaking the internet for other people who want to be ‘free’ (as in freedom) to listen in a secure way. Cloudflare is actively hostile towards Tor and VPNs (also hosting the hardest CAPTCHA system out there for real humans). We’ve recently in the last month seen the ramifications of these CDNs middling between too many sites with Fastly and Bunny going down.
I've been looking for this for years. I have a little blog for family that I keep around on shared hosting but would really like to find a way to move the active part to serverless and just update the static version once a year.
All of this without paying $25/month for managed WordPress.
PS: You could actually do better: Use Github pages and Cloudflare pages and do DNS load balancing between the two.