A simple way to keep your self-hosted website accessible during outages
One downside of self-hosting a website is that when your server goes offline, your visitors get an error page. I put together a workaround using Cloudflare Workers. Basically, you save a static copy of your public pages, and Cloudflare serves that copy whenever the origin is unavailable.