Does Always Online come with an HTTP status code of 200?

Or does it return the status code that origin is returning?
5 Replies
AlphaCentauri
AlphaCentauri15mo ago
“When Always Online with Internet Archive integration is enabled, visitors see a banner at the top of the webpage explaining they are visiting an archived version of the website. Visitors can select the Refresh button to check whether the origin has recovered and fresh content is available. When a visitor requests content for an offline website, Cloudflare returns an HTTP response status code in the range 520–527, depending on the issue. These status codes indicate that the origin is unreachable.”
AlphaCentauri
AlphaCentauri15mo ago
Always Online · Cloudflare Cache (CDN) docs
Cloudflare’s Always Online feature is now integrated with the Internet Archive so that visitors can access a portion of your website even when your …
Pablo Asenjo Navas-Parejo
When it says "When a visitor requests content for an offline website, Cloudflare returns an HTTP response status code in the range 520–527, depending on the issue. These status codes indicate that the origin is unreachable." is it when Always Online is turned ON? That's why I got confused, I don't know if the cached result from the Internet Wayback Machine is the one that will have a non-200 status code
AlphaCentauri
AlphaCentauri15mo ago
Yup, this is when Always Online is enabled. You’ll get the 5XX response with the cached content
Pablo Asenjo Navas-Parejo
Thanks!

Did you find this page helpful?