Wordpress - serverless - cloudflare?

Hello,

Has anybody done any wordpress serverless setup using workers?

Wordpress runs on PHP, so something like that is still very far away since WebAssembly support for PHP isn’t too far along Will Cloudflare support a PHP runtime for workers at the edge? - #3 by Judge.

What you could do, if you mainly use it as a blog or for hosting general webpages (not anything interactive), is have a wordpress “static site generator” which will export your website’s pages to .html pages so that they don’t rely on a full wordpress backend (although this means many features and plugins won’t work, especially interactive plugins and form plugins). With this, you would export your site and then use Workers Sites to host the website on Cloudflare.

3 Likes

There is a new official doc on hosting a static WP site.

4 Likes