Good day Cloudflare Community,
I got question regarding what’s the best practice to make my site still run/show up when origin server return 5xx errors.
Researched online a little bit and all I got is run from Cloudflare workers.
I am wondering if there is a way to handle it from Cloudflare cache?
Like the following cache rule setup and turn on when origin server return 500 error?
For statuses from 520 to 527 you can enable Always Online under Caching > Configuration and Cloudflare will be serving a static version of the website wile the origin recovers.